X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Freader.impure.lisp;h=81167f0654b3be2ef6f87b4e336850dd7bcca1bc;hb=c553e4be6da2d18f0827f190589c88e837b8b8a6;hp=e3782b8a11175c3189c3f2ae757eeef168998c83;hpb=90d05e4ae39a451ce13a25f4467d0d280ff49593;p=sbcl.git diff --git a/tests/reader.impure.lisp b/tests/reader.impure.lisp index e3782b8..81167f0 100644 --- a/tests/reader.impure.lisp +++ b/tests/reader.impure.lisp @@ -125,6 +125,15 @@ (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