tests: fix a few mistakes

This commit is contained in:
Daniel Kochmański 2016-08-07 17:05:07 +02:00
parent cd9f75a581
commit 36a06c74e9
2 changed files with 8 additions and 8 deletions

View file

@ -1 +0,0 @@
jack@pandora.670:1470121845

View file

@ -113,13 +113,14 @@
(ext:with-clean-symbols (fact)
(defun fact (n) (if (zerop n) :boom (fact (1- n))))
(test mix.0008.trace-output
(is-eql 0
(length
(with-output-to-string (*trace-output*)
(trace fact)
(fact 3)
(untrace fact)
*trace-output*)))))
(is
(not (zerop
(length
(with-output-to-string (*trace-output*)
(trace fact)
(fact 3)
(untrace fact)
*trace-output*)))))))
;;;; Author: Daniel Kochmański