Skip to content

Commit fb97215

Browse files
Merge pull request #9 from PuercoPop/patch-1
Alias *test-stream* to *standard-output*
2 parents e2c10c7 + 92fef66 commit fb97215

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vars.lisp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(in-package :lisp-unit2)
22
(cl-interpol:enable-interpol-syntax)
33

4-
(defvar *test-stream* *standard-output*)
4+
(defvar *test-stream* (make-synonym-stream '*standard-output*))
55
(defvar *test-log-stream* *test-stream*)
66
(defvar *unit-test* nil
77
"The currently executing unit test (bound in %run-test, ie every test
@@ -49,4 +49,4 @@
4949

5050
(define-condition collect-test-results ()
5151
((results :accessor results :initarg :results :initform nil))
52-
(:documentation "Signaled that with-test-results should collect this test-result-database"))
52+
(:documentation "Signaled that with-test-results should collect this test-result-database"))

0 commit comments

Comments
 (0)