mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-29 11:02:01 +00:00
* test/lisp/emacs-lisp/cl-lib-tests.el (cl-lib-symbol-macrolet): New test.
This commit is contained in:
parent
1da9a20766
commit
1f5b4ed628
@ -493,4 +493,13 @@
|
||||
(should (cl-typep '* 'cl-lib-test-type))
|
||||
(should-not (cl-typep 1 'cl-lib-test-type)))
|
||||
|
||||
(ert-deftest cl-lib-symbol-macrolet ()
|
||||
(should (equal (cl-flet ((f (x) (+ x 5)))
|
||||
(let ((x 5))
|
||||
(f (+ x 6))))
|
||||
(cl-symbol-macrolet ((f (+ x 6)))
|
||||
(cl-flet ((f (x) (+ x 5)))
|
||||
(let ((x 5))
|
||||
(f f)))))))
|
||||
|
||||
;;; cl-lib.el ends here
|
||||
|
Loading…
Reference in New Issue
Block a user