From: Andrea Corallo Date: Mon, 4 Jan 2021 21:45:42 +0000 (+0100) Subject: * Add a type specifier test X-Git-Tag: emacs-28.0.90~2727^2~176 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ad0d553e8f8ddc8cb821944b043cfaec75dbb104;p=emacs.git * Add a type specifier test * test/lisp/emacs-lisp/comp-cstr-tests.el (comp-cstr-typespec-tests-alist): Add testcase. --- 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 ()