aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lisp/subr-tests.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/lisp/subr-tests.el b/test/lisp/subr-tests.el
index 6f28e057342..e12e3c62e0c 100644
--- a/test/lisp/subr-tests.el
+++ b/test/lisp/subr-tests.el
@@ -454,7 +454,11 @@
454 x))) 454 x)))
455 (should (= x 2))) 455 (should (= x 2)))
456 (should (equal (macroexpand-all '(when a b c d)) 456 (should (equal (macroexpand-all '(when a b c d))
457 '(if a (progn b c d))))) 457 '(if a (progn b c d))))
458 (with-suppressed-warnings ((empty-body when unless))
459 (should (equal (when t) nil))
460 (should (equal (unless t) nil))
461 (should (equal (unless nil) nil))))
458 462
459(ert-deftest subr-test-xor () 463(ert-deftest subr-test-xor ()
460 "Test `xor'." 464 "Test `xor'."