projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.9.61: Fix %report-reader-error
[sbcl.git]
/
tests
/
reader.pure.lisp
diff --git
a/tests/reader.pure.lisp
b/tests/reader.pure.lisp
index
62bd000
..
7f88b03
100644
(file)
--- a/
tests/reader.pure.lisp
+++ b/
tests/reader.pure.lisp
@@
-238,3
+238,10
@@
(let ((*readtable* (copy-readtable)))
(set-syntax-from-char #\7 #\Space)
(assert (string= (format nil "~7D" 1) " 1")))
(let ((*readtable* (copy-readtable)))
(set-syntax-from-char #\7 #\Space)
(assert (string= (format nil "~7D" 1) " 1")))
+
+(let ((symbol (find-symbol "DOES-NOT-EXIST" "CL-USER")))
+ (assert (null symbol))
+ (handler-case
+ (read-from-string "CL-USER:DOES-NOT-EXIST")
+ (reader-error (c)
+ (princ c))))