aboutsummaryrefslogtreecommitdiffstats
path: root/test/src/emacs-module-tests.el
diff options
context:
space:
mode:
authorStefan Monnier2026-03-08 23:26:58 -0400
committerStefan Monnier2026-03-10 00:13:31 -0400
commitea5f15d09642435ecb645fc5dc7b84cc047ba8e6 (patch)
treed007e08c463aaa3a9743ad81c567f760f0e1db8d /test/src/emacs-module-tests.el
parent3118a8c8b1a8d1a77de80da4b03c51c199c202f8 (diff)
downloademacs-ea5f15d09642435ecb645fc5dc7b84cc047ba8e6.tar.gz
emacs-ea5f15d09642435ecb645fc5dc7b84cc047ba8e6.zip
Fix `signal` calls where the data argument is not a list
* test/src/thread-tests.el (threads-join-error): * test/src/emacs-module-resources/mod-test.c (Fmod_test_signal): * src/print.c (print_bind_overrides): * lisp/url/url-future.el (url-future-finish, url-future-errored) (url-future-call, url-future-cancel): Make sure signal's data is a list. * test/src/emacs-module-tests.el (mod-test-non-local-exit-signal-test): Adjust accordingly.
Diffstat (limited to 'test/src/emacs-module-tests.el')
-rw-r--r--test/src/emacs-module-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/emacs-module-tests.el b/test/src/emacs-module-tests.el
index e34db70feb6..d2ec127f878 100644
--- a/test/src/emacs-module-tests.el
+++ b/test/src/emacs-module-tests.el
@@ -121,7 +121,7 @@ changes."
121 (setq handler-err err 121 (setq handler-err err
122 backtrace (with-output-to-string (backtrace)))))) 122 backtrace (with-output-to-string (backtrace))))))
123 (mod-test-signal))) 123 (mod-test-signal)))
124 (should (equal handler-err '(error . 56))) 124 (should (equal handler-err '(error 56)))
125 (should (string-match-p 125 (should (string-match-p
126 (rx bol " mod-test-signal()" eol) 126 (rx bol " mod-test-signal()" eol)
127 backtrace)))) 127 backtrace))))