diff options
author | Alan Mackenzie <acm@muc.de> | 2021-03-24 18:57:48 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2021-03-24 19:01:31 +0000 |
commit | d20a4a50d377f1c48299dc18008ab1a106f4f58e (patch) | |
tree | cab9daa472631cf23acdd387f96025a23d1cee74 /lisp/emacs-lisp | |
parent | a5617bccf7d77b24c6f431e2c97496c440b06fe2 (diff) | |
download | emacs-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