X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fassertoid.lisp;h=0e76532d70d7ce7df34e04d8a0411c982a9e9f00;hb=b9a60d8c091096ce7f90073de9b3d26ec7433387;hp=0469450505393b3a52356fa17b82440e43603537;hpb=9514c25e89aad10784c6d04fea4595d8c8ae68cc;p=sbcl.git diff --git a/tests/assertoid.lisp b/tests/assertoid.lisp index 0469450..0e76532 100644 --- a/tests/assertoid.lisp +++ b/tests/assertoid.lisp @@ -12,7 +12,11 @@ ;;;; absolutely no warranty. See the COPYING and CREDITS files for ;;;; more information. -(cl:in-package :cl-user) +(cl:defpackage "ASSERTOID" + (:use "CL") + (:export "GRAB-CONDITION" "RAISES-ERROR?" "ASSERTOID")) + +(cl:in-package "ASSERTOID") (defmacro grab-condition (&body body) `(nth-value 1 @@ -85,7 +89,7 @@ (flet ((frob (evaloid) (let ((result (funcall evaloid expr))) (unless (funcall eval-expected-lambda result) - (error "failed assertoid" expr)))) + (error "failed assertoid ~S" expr)))) (compile-as-evaloid (optimizations) (lambda (expr) (funcall (compile nil