emacs-diffs
[Top][All Lists]
Advanced

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

feature/native-comp 7074988 06/19: * Add a type specifier test to comp-c


From: Andrea Corallo
Subject: feature/native-comp 7074988 06/19: * Add a type specifier test to comp-cstr-tests.el
Date: Mon, 21 Dec 2020 14:52:38 -0500 (EST)

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

    * Add a type specifier test to comp-cstr-tests.el
    
        * test/lisp/emacs-lisp/comp-cstr-tests.el
        (comp-cstr-typespec-tests-alist): Add a test.
---
 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 70c446e..03bf789 100644
--- a/test/lisp/emacs-lisp/comp-cstr-tests.el
+++ b/test/lisp/emacs-lisp/comp-cstr-tests.el
@@ -193,7 +193,9 @@
     ;; 76
     ((and symbol (or number marker)) . nil)
     ;; 77
-    ((and (or symbol string) (or number marker)) . nil))
+    ((and (or symbol string) (or number marker)) . nil)
+    ;; 78
+    ((and t t) . t))
   "Alist type specifier -> expected type specifier.")
 
 (defmacro comp-cstr-synthesize-tests ()



reply via email to

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