X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fprint.impure.lisp;h=2e5b39154a17309f8cf3558000eb92d1c6c9a003;hb=6f4c867e670a3c538b4072b824fa8026e9f2cbfe;hp=4b6fed3c7373b46e1411505cfc5b11df94912ba8;hpb=f9663e4a4c35614fcba5812882f9ed812cbcf62d;p=sbcl.git diff --git a/tests/print.impure.lisp b/tests/print.impure.lisp index 4b6fed3..2e5b391 100644 --- a/tests/print.impure.lisp +++ b/tests/print.impure.lisp @@ -268,7 +268,7 @@ ;;; bug 350: bignum printing so memory-hungry that heap runs out ;;; -- just don't stall here forever on a slow box -(with-test (:name bug-350 :fails-on :win32) +(with-test (:name bug-350) (handler-case (with-timeout 10 (print (ash 1 1000000))) @@ -645,4 +645,8 @@ (timeout () (error "Endless loop in FORMAT")))) +(with-test (:name :format-type-check) + (assert (raises-error? (format nil "~r" 1.32) sb-format:format-error)) + (assert (raises-error? (format nil "~c" 1.32) sb-format:format-error))) + ;;; success