|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#16121: closed (24.3.50; Type error in ERT) |
Date: | Thu, 19 Dec 2013 08:16:02 +0000 |
Your message dated Thu, 19 Dec 2013 03:15:12 -0500 with message-id <address@hidden> and subject line Re: bug#16121: 24.3.50; Type error in ERT has caused the debbugs.gnu.org bug report #16121, regarding 24.3.50; Type error in ERT to be marked as done. (If you believe you have received this mail in error, please contact address@hidden) -- 16121: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16121 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: 24.3.50; Type error in ERT Date: Thu, 12 Dec 2013 13:23:45 +0100 `ert-select-tests' tries to match a symbol against a string with `string-match', causing a `wrong-type-argument' error. The culprit is in the `string' branch of the `cl-etypecase' expression, where the following expression is used as predicate for `cl-remove-if-not': (and (ert-test-name test) (string-match selector (ert-test-name test))) However, `ert-test-name' returns a *symbol* with the name of the test. The error is fixed by applying `symbol-name' to the return value of `ert-test-name': (and (ert-test-name test) (string-match selector (symbol-name (ert-test-name test))))
--- End Message ---
--- Begin Message ---Subject: Re: bug#16121: 24.3.50; Type error in ERT Date: Thu, 19 Dec 2013 03:15:12 -0500 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Version: 24.4 Thanks.
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |