X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Farith.impure.lisp;h=e45ab9f1c53802b2b952e8a72f21a953002b4d90;hb=22c1de0a40df83bb5628974010a879cb2c17ff53;hp=6604a9fc1854be7dba80ff712fda5ec25cb85f78;hpb=6e73f7320651975ce7cd8e72e2334041b7e80df1;p=sbcl.git diff --git a/tests/arith.impure.lisp b/tests/arith.impure.lisp index 6604a9f..e45ab9f 100644 --- a/tests/arith.impure.lisp +++ b/tests/arith.impure.lisp @@ -12,6 +12,7 @@ ;;;; more information. (load "assertoid.lisp") +(use-package "ASSERTOID") (defmacro define-compiled-fun (fun name) `(progn @@ -65,4 +66,6 @@ (assert (null (ignore-errors (compiled-logxor #c(2 3))))) (assert (= (compiled-logxor -6) -6)) -(sb-ext:quit :unix-status 104) \ No newline at end of file +(assert (raises-error? (coerce (expt 10 1000) 'single-float) type-error)) + +(sb-ext:quit :unix-status 104)