diff options
| author | Andrea Corallo | 2021-01-04 22:45:42 +0100 |
|---|---|---|
| committer | Andrea Corallo | 2021-01-07 23:08:48 +0100 |
| commit | ad0d553e8f8ddc8cb821944b043cfaec75dbb104 (patch) | |
| tree | dd4c45489286802966644ec89f6c81efff7c50c6 | |
| parent | 33b8ce865fcfd58538ae2d7c3fff04998fcd3330 (diff) | |
| download | emacs-ad0d553e8f8ddc8cb821944b043cfaec75dbb104.tar.gz emacs-ad0d553e8f8ddc8cb821944b043cfaec75dbb104.zip | |
* Add a type specifier test
* test/lisp/emacs-lisp/comp-cstr-tests.el
(comp-cstr-typespec-tests-alist): Add testcase.
| -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 @@ | |||
| 209 | ;; 84 | 209 | ;; 84 |
| 210 | ((not nil) . t) | 210 | ((not nil) . t) |
| 211 | ;; 85 | 211 | ;; 85 |
| 212 | ((or (not string) t) . t)) | 212 | ((or (not string) t) . t) |
| 213 | ;; 86 | ||
| 214 | ((or (not vector) sequence) . sequence)) | ||
| 213 | "Alist type specifier -> expected type specifier.")) | 215 | "Alist type specifier -> expected type specifier.")) |
| 214 | 216 | ||
| 215 | (defmacro comp-cstr-synthesize-tests () | 217 | (defmacro comp-cstr-synthesize-tests () |