X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=inline;f=tests%2Fprint.impure.lisp;h=33f12aa488fe9852e5fd0a8414376fbb26592fa4;hb=171fde84561e232b8af8c05b82dfe8a8f9e08340;hp=54c8c9b0818c722aa0753f336612d819759ae37a;hpb=805f1dda16b90116e3eacc8dba62c34f30ed0838;p=sbcl.git diff --git a/tests/print.impure.lisp b/tests/print.impure.lisp index 54c8c9b..33f12aa 100644 --- a/tests/print.impure.lisp +++ b/tests/print.impure.lisp @@ -574,4 +574,9 @@ (with-test (:name :bug-867684) (assert (equal "ab" (format nil "a~0&b")))) +(with-test (:name :print-unreadably-function) + (assert (equal "\"foo\"" + (handler-bind ((print-not-readable #'sb-ext:print-unreadably)) + (write-to-string (coerce "foo" 'base-string) :readably t))))) + ;;; success