mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-18 23:32:17 -08:00
tests: fix a few mistakes
This commit is contained in:
parent
cd9f75a581
commit
36a06c74e9
2 changed files with 8 additions and 8 deletions
|
|
@ -1 +0,0 @@
|
|||
jack@pandora.670:1470121845
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue