aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/lisp/emacs-lisp/cl-lib-tests.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/lisp/emacs-lisp/cl-lib-tests.el b/test/lisp/emacs-lisp/cl-lib-tests.el
index 5edc3e72bf2..b5946208f10 100644
--- a/test/lisp/emacs-lisp/cl-lib-tests.el
+++ b/test/lisp/emacs-lisp/cl-lib-tests.el
@@ -493,4 +493,13 @@
493 (should (cl-typep '* 'cl-lib-test-type)) 493 (should (cl-typep '* 'cl-lib-test-type))
494 (should-not (cl-typep 1 'cl-lib-test-type))) 494 (should-not (cl-typep 1 'cl-lib-test-type)))
495 495
496(ert-deftest cl-lib-symbol-macrolet ()
497 (should (equal (cl-flet ((f (x) (+ x 5)))
498 (let ((x 5))
499 (f (+ x 6))))
500 (cl-symbol-macrolet ((f (+ x 6)))
501 (cl-flet ((f (x) (+ x 5)))
502 (let ((x 5))
503 (f f)))))))
504
496;;; cl-lib.el ends here 505;;; cl-lib.el ends here