Set the default-reason-args in all the various forms the IS macro handles
authorMarco Baringer <mb@bese.it>
Wed, 18 Jan 2006 10:11:16 +0000 (11:11 +0100)
committerMarco Baringer <mb@bese.it>
Wed, 18 Jan 2006 10:11:16 +0000 (11:11 +0100)
src/check.lisp

index 506d7ba..e0eb723 100644 (file)
@@ -133,7 +133,8 @@ Wrapping the TEST form in a NOT simply preducse a negated reason string."
                default-reason-args (list "~S did not satisfy ~S" v `',?satisfies)))
         (t
          (setf bindings '()
-               effective-test test)))
+               effective-test test
+               default-reason-args "No reason supplied.")))
       `(let ,bindings
          (if ,effective-test
              (add-result 'test-passed :test-expr ',test)