diff options
author | Andrea Corallo <akrl@sdf.org> | 2021-01-04 22:45:42 +0100 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2021-01-07 23:08:48 +0100 |
commit | ad0d553e8f8ddc8cb821944b043cfaec75dbb104 (patch) | |
tree | dd4c45489286802966644ec89f6c81efff7c50c6 /test/lisp/emacs-lisp/comp-cstr-tests.el | |
parent | 33b8ce865fcfd58538ae2d7c3fff04998fcd3330 (diff) | |
download | emacs-ad0d553e8f8ddc8cb821944b043cfaec75dbb104.tar.gz emacs-ad0d553e8f8ddc8cb821944b043cfaec75dbb104.tar.bz2 emacs-ad0d553e8f8ddc8cb821944b043cfaec75dbb104.zip |
* Add a type specifier test
* test/lisp/emacs-lisp/comp-cstr-tests.el
(comp-cstr-typespec-tests-alist): Add testcase.
Diffstat (limited to 'test/lisp/emacs-lisp/comp-cstr-tests.el')
-rw-r--r-- | test/lisp/emacs-lisp/comp-cstr-tests.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/lisp/emacs-lisp/comp-cstr-tests.el b/test/lisp/emacs-lisp/comp-cstr-tests.el index f5ed05244d7..b4db54666c7 100644 --- a/test/lisp/emacs-lisp/comp-cstr-tests.el +++ b/test/lisp/emacs-lisp/comp-cstr-tests.el @@ -209,7 +209,9 @@ ;; 84 ((not nil) . t) ;; 85 - ((or (not string) t) . t)) + ((or (not string) t) . t) + ;; 86 + ((or (not vector) sequence) . sequence)) "Alist type specifier -> expected type specifier.")) (defmacro comp-cstr-synthesize-tests () |