]> git.eshelyaron.com Git - emacs.git/commit
emacs-module-tests.el (mod-test-non-local-exit-signal-test): Repair test
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 28 Dec 2023 05:49:39 +0000 (00:49 -0500)
committerEshel Yaron <me@eshelyaron.com>
Fri, 5 Jan 2024 08:19:22 +0000 (09:19 +0100)
commit621851c11aa76c77f17afafc1bdb757e4b17bbbe
tree2b5db740d09403fd1f306affe00252a8d8526553
parentd8efcbcf01f10c293a6f7feab23cf22f3d2a8731
emacs-module-tests.el (mod-test-non-local-exit-signal-test): Repair test

That test relied on `debugger` and `debug-on-signal` in a way that
doesn't work with the new ERT code.

* test/src/emacs-module-tests.el (mod-test-non-local-exit-signal-test):
Use `handler-bind` rather than the debugger.

(cherry picked from commit 142c90a6f088a6eea66d6b08d05a5ff70c018aa6)
test/src/emacs-module-tests.el