emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/native-comp ad0d553 1/2: * Add a type specifier test


From: Andrea Corallo
Subject: feature/native-comp ad0d553 1/2: * Add a type specifier test
Date: Thu, 7 Jan 2021 17:42:54 -0500 (EST)

branch: feature/native-comp
commit ad0d553e8f8ddc8cb821944b043cfaec75dbb104
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>

    * Add a type specifier test
    
        * test/lisp/emacs-lisp/comp-cstr-tests.el
        (comp-cstr-typespec-tests-alist): Add testcase.
---
 test/lisp/emacs-lisp/comp-cstr-tests.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test/lisp/emacs-lisp/comp-cstr-tests.el 
b/test/lisp/emacs-lisp/comp-cstr-tests.el
index f5ed052..b4db546 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 ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]