diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2021-11-18 12:18:24 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2021-11-18 12:25:34 +0100 |
commit | 67ffcc5c7f5e1adcc6f662b01c7904f977dd4f51 (patch) | |
tree | 6720fd3b0f59dd44048c2a1fff9cd79f66c17aae /test/lisp/thingatpt-tests.el | |
parent | f41c6a70e7ce100b13ff0b662a054f6a0cd11cb2 (diff) | |
download | emacs-67ffcc5c7f5e1adcc6f662b01c7904f977dd4f51.tar.gz emacs-67ffcc5c7f5e1adcc6f662b01c7904f977dd4f51.tar.bz2 emacs-67ffcc5c7f5e1adcc6f662b01c7904f977dd4f51.zip |
Signal an error for duplicated ERT tests (bug#51941)
Make `ert-deftest` fail with an error (in batch mode only) if an
existing test is redefined, because that is an easy mistake to make
and which leads to a test being discarded silently.
lisp/emacs-lisp/ert.el (ert-set-test, ert-deftest): Add check.
etc/NEWS: Announce.
Diffstat (limited to 'test/lisp/thingatpt-tests.el')
0 files changed, 0 insertions, 0 deletions