mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-23 04:52:42 -08:00
tests: don't ruin run-program return values output
This commit is contained in:
parent
2c3ccd8444
commit
77cebaef4a
1 changed files with 2 additions and 2 deletions
|
|
@ -133,5 +133,5 @@ as a second value."
|
|||
`(let ((,var (ext:mkstemp "ecl-tests")))
|
||||
(with-open-file (,stream ,var :direction :output)
|
||||
(format ,stream ,string))
|
||||
,@body
|
||||
(delete-file ,var)))))
|
||||
(multiple-value-prog1 (progn ,@body)
|
||||
(delete-file ,var))))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue