Commit baf3c8a2 authored by pfdietz's avatar pfdietz

More tests for typep on type specs of the form (simple-string ...)

parent 4c4a2e40
......@@ -63,3 +63,23 @@
(typep* (make-array '(12) :element-type nil) 'simple-string)
t)
(deftest simple-estring.14
(typep* "abc" '(simple-string))
t)
(deftest simple-estring.15
(typep* "abc" '(simple-string *))
t)
(deftest simple-estring.16
(typep* "abc" '(simple-string 3))
t)
(deftest simple-estring.17
(typep* "abc" '(simple-string 2))
nil)
(deftest simple-estring.18
(typep* "abc" '(simple-string 4))
nil)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment