]> git.eshelyaron.com Git - emacs.git/commit
Fix ert-test finding by symbol (Bug#28849)
authorNoam Postavsky <npostavs@gmail.com>
Sun, 15 Oct 2017 15:38:21 +0000 (11:38 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Sun, 15 Oct 2017 17:58:45 +0000 (13:58 -0400)
commitde60992053a6ce21afe218e37bb377e7a5713522
treeecf2b223fba3b2cc163089912dea40161e728942
parent51615a808236058ac732a5eaba239874d56fdd10
Fix ert-test finding by symbol (Bug#28849)

In 2017-07-28 "* lisp/subr.el (define-symbol-prop): New function", the
symbol used for ert tests in load-history was changed from
`ert-deftest' to `ert--test', but a couple of other places were not
updated accordingly.
* lisp/emacs-lisp/ert.el (ert-find-test-other-window): Pass
`ert--test' as the TYPE to `find-function-do-it'.
(top-level): Use `ert--test' as the key to the
`find-function-regexp-alist' entry.
lisp/emacs-lisp/ert.el