Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Karsten Poeck
ansi-test
Commits
2c81c5a0
Commit
2c81c5a0
authored
Jan 30, 2003
by
pfdietz
Browse files
Added test that (UPGRADED-ARRAY-ELEMENT-TYPE NIL) is type equivalent to NIL.
parent
7f1fadc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
ansi-tests/upgraded-array-element-type.lsp
View file @
2c81c5a0
...
...
@@ -71,6 +71,15 @@
(upgraded-array-element-type 'bit env))))
(%foo))
t)
;;; Tests of upgrading NIL (it should be type equivalent to NIL)
(deftest upgraded-array-element-type.nil.1
(let ((uaet-nil (upgraded-array-element-type nil)))
(loop for e in *universe*
when (typep e uaet-nil)
collect e))
nil)
;;; Error tests
...
...
@@ -82,7 +91,3 @@
(deftest upgraded-array-element-type.error.2
(classify-error (upgraded-array-element-type 'bit nil nil))
program-error)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment