X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fpprint.impure.lisp;h=8423f9fdc276abfa1aa2492f9d265f025c125516;hb=4ed3f0d08c3a57a6762018d9622f253ab9d0f2b6;hp=ee1f91a70a02c10c4f20b8d19eacc02261a178cf;hpb=2768ed83de59354b21ea61de3dea358c53d1ae05;p=sbcl.git diff --git a/tests/pprint.impure.lisp b/tests/pprint.impure.lisp index ee1f91a..8423f9f 100644 --- a/tests/pprint.impure.lisp +++ b/tests/pprint.impure.lisp @@ -88,6 +88,20 @@ ;2~%~ ;3x")))) +;;; bug 141b: not enough care taken to disambiguate ,.FOO and ,@FOO +;;; from , .FOO and , @FOO +(assert (equal + (with-output-to-string (s) + (write '`(, .foo) :stream s :pretty t :readably t)) + "`(, .FOO)")) +(assert (equal + (with-output-to-string (s) + (write '`(, @foo) :stream s :pretty t :readably t)) + "`(, @FOO)")) +(assert (equal + (with-output-to-string (s) + (write '`(, ?foo) :stream s :pretty t :readably t)) + "`(,?FOO)")) ;;; success (quit :unix-status 104)