summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2021-03-24 18:57:48 +0000
committerAlan Mackenzie <acm@muc.de>2021-03-24 19:01:31 +0000
commitd20a4a50d377f1c48299dc18008ab1a106f4f58e (patch)
treecab9daa472631cf23acdd387f96025a23d1cee74 /lisp/emacs-lisp
parenta5617bccf7d77b24c6f431e2c97496c440b06fe2 (diff)
downloademacs-d20a4a50d377f1c48299dc18008ab1a106f4f58e.tar.gz
emacs-d20a4a50d377f1c48299dc18008ab1a106f4f58e.tar.bz2
emacs-d20a4a50d377f1c48299dc18008ab1a106f4f58e.zip
Improve failure reporting in test/lisp/electric-tests.el
In particular, on a failure, output the test's doc string to electric-tests.log, along with all the other failure information. Fixes bug #47320. * electric-tests.el (electric-pair-test-for) New parameter doc-string. On a test failure, output the doc-string parameter with message. (electric-pair-define-test-form): Set the new variable doc-string to the generated doc string, and pass this as argument to both ert-deftest and electric-pair-test-for.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions