X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fpprint.impure.lisp;h=2a98b0bde1df22b9711725f273d574345d265759;hb=c553e4be6da2d18f0827f190589c88e837b8b8a6;hp=bf85bcf833b17b3e5114b358da25380650b5a15c;hpb=e303f38caaf6055614e7cf5cc542cfb7da22d070;p=sbcl.git diff --git a/tests/pprint.impure.lisp b/tests/pprint.impure.lisp index bf85bcf..2a98b0b 100644 --- a/tests/pprint.impure.lisp +++ b/tests/pprint.impure.lisp @@ -206,5 +206,14 @@ (with-open-stream (null (make-broadcast-stream)) (pprint '(defpackage :foo nil)) (pprint '(defpackage :foo 42)))) + +(with-test (:name :standard-pprint-dispatch-modified) + (assert + (eq :error + (handler-case (with-standard-io-syntax + (set-pprint-dispatch 'symbol (constantly nil)) + :no-error) + (sb-int:standard-pprint-dispatch-table-modified-error () + :error))))) ;;; success