summaryrefslogtreecommitdiff
path: root/tests.lisp
diff options
context:
space:
mode:
authorBoutade <thegoofist@protonmail.com>2019-05-03 13:50:35 -0500
committerBoutade <thegoofist@protonmail.com>2019-05-03 13:50:35 -0500
commitd6b9ef40b4e98752d7969c421d04a0cb2618ff4d (patch)
tree6213184cf7c7a694ccf72a1d1c3f91ce4170451c /tests.lisp
parent640290a3c5a08e89b8deccaff43b862bd2076982 (diff)
Altered tests.lisp to use character input streams
Diffstat (limited to 'tests.lisp')
-rw-r--r--tests.lisp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests.lisp b/tests.lisp
index 9a1aecf..44d0a3b 100644
--- a/tests.lisp
+++ b/tests.lisp
@@ -8,7 +8,8 @@
(defmacro test-with ((var input-string) &rest tests)
`(subtest (format nil "With the input ~s ..." ,input-string)
- (let ((,var (make-instance 'replay-streams:static-text-replay-stream :text ,input-string)))
+ (let ((,var (make-instance 'replay-streams:character-input-replay-stream
+ :source (make-string-input-stream ,input-string))))
,@tests)))
(defmacro results (stream expr val)