summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/comp-cstr-tests.el
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2021-01-04 22:45:42 +0100
committerAndrea Corallo <akrl@sdf.org>2021-01-07 23:08:48 +0100
commitad0d553e8f8ddc8cb821944b043cfaec75dbb104 (patch)
treedd4c45489286802966644ec89f6c81efff7c50c6 /test/lisp/emacs-lisp/comp-cstr-tests.el
parent33b8ce865fcfd58538ae2d7c3fff04998fcd3330 (diff)
downloademacs-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.el4
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 ()