X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fpprint.impure.lisp;h=4f10bd01c1e91b00058203c84cd2cad846d31660;hb=d7875c296a4988e9f27e2776237884deb1984c62;hp=4e6d8a3394ca97c6cd1bbb0850195fa1eee4fbac;hpb=9ebf496afbad179facaa8db5d45e5a807b1c002c;p=sbcl.git diff --git a/tests/pprint.impure.lisp b/tests/pprint.impure.lisp index 4e6d8a3..4f10bd0 100644 --- a/tests/pprint.impure.lisp +++ b/tests/pprint.impure.lisp @@ -291,5 +291,17 @@ (when errors (error "Can't PPRINT imporper lists: ~a" errors)))) +(with-test (:name :pprint-circular-backq-comma) + ;; LP 1161218 reported by James M. Lawrence + (let ((string (write-to-string '(let ((#1=#:var '(99))) + `(progn ,@(identity #1#))) + :circle t :pretty t))) + (assert (not (search "#2#" string))))) + +(with-test (:name :pprint-dotted-setf) + (let ((*print-pretty* t)) + (equal (format nil "~a" '(setf . a)) + "(SETF . A)"))) + ;;; success