Skip to content

Commit 23c9d2d

Browse files
committed
Print the error details of 'outputs' and 'expands'.
1 parent a748634 commit 23c9d2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/assertion.lisp

+2-2
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182

183183
(defmacro outputs (form content &optional (stream '*standard-output*))
184184
`(equal (output-of ,form ,stream) ,content))
185-
(setf (get 'outputs 'assertion) t)
185+
(setf (get 'outputs 'assertion) nil)
186186

187187
(defmethod form-description ((function (eql 'outputs)) args values &key negative)
188188
(format nil "Expect ~W~:[~; not~] to output ~S."
@@ -200,7 +200,7 @@
200200

201201
(defmacro expands (form expanded-form &optional env)
202202
`(equal* (macroexpand-1 ,form ,env) ,expanded-form))
203-
(setf (get 'expands 'assertion) t)
203+
(setf (get 'expands 'assertion) nil)
204204

205205
(defmethod form-description ((function (eql 'expands)) args values &key negative)
206206
(declare (ignore values))

0 commit comments

Comments
 (0)