projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.46.43: fix sb-introspect on non-threaded builds
[sbcl.git]
/
tests
/
reader.impure.lisp
diff --git
a/tests/reader.impure.lisp
b/tests/reader.impure.lisp
index
e3782b8
..
81167f0
100644
(file)
--- a/
tests/reader.impure.lisp
+++ b/
tests/reader.impure.lisp
@@
-125,6
+125,15
@@
(funcall fun)
(assert (equal '(:ok) (read-from-string "{:ok)"))))
(funcall fun)
(assert (equal '(:ok) (read-from-string "{:ok)"))))
+(with-test (:name bad-recursive-read)
+ ;; This use to signal an unbound-variable error instead.
+ (assert (eq :error
+ (handler-case
+ (with-input-from-string (s "42")
+ (read s t nil t))
+ (reader-error (e)
+ :error)))))
+
(with-test (:name standard-readtable-modified)
(macrolet ((test (form &optional op)
`(assert
(with-test (:name standard-readtable-modified)
(macrolet ((test (form &optional op)
`(assert