X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fbackq.impure.lisp;h=7632c78d460801dd53ee95b4cc4767bcd53f0f23;hb=74cf7a4d01664fbf72a662ba093ad67ca243b524;hp=cd70cea0c498813cbee37b758e23ccdb079d0f5c;hpb=4898ef32c639b1c7f4ee13a5ba566ce6debd03e6;p=sbcl.git diff --git a/tests/backq.impure.lisp b/tests/backq.impure.lisp index cd70cea..7632c78 100644 --- a/tests/backq.impure.lisp +++ b/tests/backq.impure.lisp @@ -62,5 +62,12 @@ (let ((*print-circle* t)) (assert (equal (read-from-string (write-to-string a)) a)))) -;;; success -(quit :unix-status 104) +(let ((s '``(,,@(list 1 2 3) 10))) + (assert (equal (eval (eval s)) '(1 2 3 10)))) + +(with-test (:name :comma-at-number-error) + (assert (eq :error + (handler-case + (read-from-string "`(,@1)") + (reader-error () + :error)))))