aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lisp/emacs-lisp/cl-lib-tests.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lisp/emacs-lisp/cl-lib-tests.el b/test/lisp/emacs-lisp/cl-lib-tests.el
index 13c9af9bd6d..ed85f5a0f66 100644
--- a/test/lisp/emacs-lisp/cl-lib-tests.el
+++ b/test/lisp/emacs-lisp/cl-lib-tests.el
@@ -201,6 +201,10 @@
201 :b :a :a 42) 201 :b :a :a 42)
202 '(42 :a)))) 202 '(42 :a))))
203 203
204(ert-deftest cl-lib-empty-keyargs ()
205 (should-error (funcall (cl-function (lambda (&key) 1))
206 :b 1)))
207
204(cl-defstruct (mystruct 208(cl-defstruct (mystruct
205 (:constructor cl-lib--con-1 (&aux (abc 1))) 209 (:constructor cl-lib--con-1 (&aux (abc 1)))
206 (:constructor cl-lib--con-2 (&optional def) "Constructor docstring.")) 210 (:constructor cl-lib--con-2 (&optional def) "Constructor docstring."))