X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fcondition.pure.lisp;h=181b2018c7d41f0361a3e9d2e1ab2dfff1252bc0;hb=7a2ee8c1aff0bdd286cf5d43ab40bff7fed86bea;hp=0b071d85cfcbb9ec40f256eaed3cd0305ebe9226;hpb=b4ddf569d48686d532f3baf62f1c5cd42d78f9bd;p=sbcl.git diff --git a/tests/condition.pure.lisp b/tests/condition.pure.lisp index 0b071d8..181b201 100644 --- a/tests/condition.pure.lisp +++ b/tests/condition.pure.lisp @@ -189,3 +189,10 @@ (when (and (eq 'list (type-error-expected-type e)) (eql 8 (type-error-datum e))) :type-error)))))) + +(with-test (:name (:printing-unintitialized-condition :bug-1184586)) + (prin1-to-string (make-condition 'simple-type-error))) + +(with-test (:name (:print-undefined-function-condition)) + (handler-case (funcall '#:foo) + (undefined-function (c) (princ c))))