aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorPo Lu2024-08-07 09:21:27 +0800
committerPo Lu2024-08-07 09:21:27 +0800
commit1a4c26d413f06342fc7fa9230f9312a95a37dae3 (patch)
tree26a1bde5bef543ea897022c1e44f807adfd040de /test/src
parentaa5c725fe7ba0a5e67ce1029061b2d887ddeb949 (diff)
parent679f7ccc49f6300681309029f4e58cffe3e9ff1a (diff)
downloademacs-1a4c26d413f06342fc7fa9230f9312a95a37dae3.tar.gz
emacs-1a4c26d413f06342fc7fa9230f9312a95a37dae3.zip
Merge from savannah/emacs-30
679f7ccc49f Prevent accesses to /content files without a GUI connection f0a7eec5a7d * lisp/net/tramp-integration.el (shortdoc): Use `tramp--w... fb642d9cf54 Merge branch 'emacs-30' of git.savannah.gnu.org:/srv/git/... f1e37ae423f Avoid crashes in very large buffers with long lines 4dc9e99349d Update description of string comparison functions 3817355aed5 Add sanity check when adding Tramp functions to shortdoc 1bbb3220179 ; * lisp/erc/erc-fill.el (erc-fill-wrap-mode): Doc fix. 3f6e7e1da68 js-ts-mode: Make jsdoc's "description" block a comment (b... 1c7e00f4f65 Also condition cjk-misc font-spec on Android b89d65df5fa ; * etc/PROBLEMS: How to install sources on SUSE Linux (b... 729b17c2026 ; * src/lread.c (Fload): Add comment. (Bug#72433) bfb1aee9989 Fix ':defer nil' in 'use-package' d787817076e Document unsupported color Emoji on OpenBSD db1f749db55 Fix regressions in Customize caused by 'widget-unselected... f94d58008eb Avoid inserting extra space in SVG data 292fcd20099 Fix c-ts-common filling function (bug#71760) e50d597f450 Fix missing type checks before specbind # Conflicts: # lisp/progmodes/c-ts-common.el
Diffstat (limited to 'test/src')
-rw-r--r--test/src/eval-tests.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/src/eval-tests.el b/test/src/eval-tests.el
index 187dc2f34d5..e1663f489c5 100644
--- a/test/src/eval-tests.el
+++ b/test/src/eval-tests.el
@@ -362,5 +362,13 @@ expressions works for identifiers starting with period."
362 (error err)))) 362 (error err))))
363 (should (eq inner-error outer-error)))) 363 (should (eq inner-error outer-error))))
364 364
365(ert-deftest eval-bad-specbind ()
366 (should-error (eval '(let (((a b) 23)) (+ 1 2)) t)
367 :type 'wrong-type-argument)
368 (should-error (eval '(let* (((a b) 23)) (+ 1 2)) t)
369 :type 'wrong-type-argument)
370 (should-error (eval '(condition-case (a b) (+ 1 2) (:success 'ok)))
371 :type 'wrong-type-argument)
372 (should-error (eval '(funcall '(lambda ((a b) 3.15) 84) 5 4))))
365 373
366;;; eval-tests.el ends here 374;;; eval-tests.el ends here