mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 16:51:06 -07:00
* test/lisp/emacs-lisp/cl-lib-tests.el (cl-lib-symbol-macrolet): New test.
This commit is contained in:
parent
1da9a20766
commit
1f5b4ed628
1 changed files with 9 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue