Make condition printable, for easier manually stepping through tests.
Wed Feb 3 09:56:58 UTC 2010 pix@kepibu.org
* Make condition printable, for easier manually stepping through tests.
diff -rN -u old-cl-unification-1/test/unification-tests.lisp new-cl-unification-1/test/unification-tests.lisp
--- old-cl-unification-1/test/unification-tests.lisp 2013-07-21 19:26:18.000000000 +0000
+++ new-cl-unification-1/test/unification-tests.lisp 2013-07-21 19:26:18.000000000 +0000
@@ -203,7 +203,8 @@
(otherwise (error "error-inner")))))
(otherwise (error "error-outer"))))
-(define-condition inner-error (unification-failure) ())
+(define-condition inner-error (unification-failure) ()
+ (:default-initargs :format-control "Inner error."))
(with-tests (:name "control flow")
(test-error (nested-match-cases '(:a 42 :b 33)) :announce t)