From 049638ad60ae21c89227148ac7235da3afbf221d Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 19 Dec 2013 00:14:37 -0800 Subject: [PATCH] * lisp/emacs-lisp/ert.el (ert-select-tests): Fix string/symbol mixup. Fixes: debbugs:16121 --- lisp/ChangeLog | 5 +++++ lisp/emacs-lisp/ert.el | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5fd4ff56c66..249f629b5f4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-12-19 Glenn Morris + + * emacs-lisp/ert.el (ert-select-tests): + Fix string/symbol mixup. (Bug#16121) + 2013-12-19 Dmitry Gutov * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el index a131f48c488..01b610396a9 100644 --- a/lisp/emacs-lisp/ert.el +++ b/lisp/emacs-lisp/ert.el @@ -999,7 +999,8 @@ contained in UNIVERSE." (list (cl-remove-if-not (lambda (test) (and (ert-test-name test) (string-match selector - (ert-test-name test)))) + (symbol-name + (ert-test-name test))))) universe)))) (ert-test (list selector)) (symbol -- 2.39.2