]> git.eshelyaron.com Git - emacs.git/commit
Fix structure of condition object in nested 'ert-fail'.
authorPhilipp Stephani <phst@google.com>
Mon, 8 Mar 2021 13:30:24 +0000 (14:30 +0100)
committerPhilipp Stephani <phst@google.com>
Mon, 8 Mar 2021 13:30:24 +0000 (14:30 +0100)
commitf4452bb8140cb7485be0a529afc91476becb5d91
tree6832b96a12a5cf351c844bfad32958f7bf0a1826
parent432c1aaa80ce109250a93f50858a03ce3d01ca34
Fix structure of condition object in nested 'ert-fail'.

See the test 'ert-test-fail' for the expected structure.

* lisp/emacs-lisp/ert.el (ert--should-signal-hook): Condition list
should be (SYMBOL . DATA), not (SYMBOL DATA).
* test/lisp/emacs-lisp/ert-tests.el (ert-test-fail-inside-should): Fix
unit test.
lisp/emacs-lisp/ert.el
test/lisp/emacs-lisp/ert-tests.el