projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add SB-EXT:*SUPPRESS-PRINT-ERRORS* modelled after *BREAK-ON-SIGNALS*
[sbcl.git]
/
tests
/
print.impure.lisp
diff --git
a/tests/print.impure.lisp
b/tests/print.impure.lisp
index
54c8c9b
..
33f12aa
100644
(file)
--- 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 :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
;;; success