diff options
author | Boutade <thegoofist@protonmail.com> | 2019-05-03 13:50:35 -0500 |
---|---|---|
committer | Boutade <thegoofist@protonmail.com> | 2019-05-03 13:50:35 -0500 |
commit | d6b9ef40b4e98752d7969c421d04a0cb2618ff4d (patch) | |
tree | 6213184cf7c7a694ccf72a1d1c3f91ce4170451c /tests.lisp | |
parent | 640290a3c5a08e89b8deccaff43b862bd2076982 (diff) |
Altered tests.lisp to use character input streams
Diffstat (limited to 'tests.lisp')
-rw-r--r-- | tests.lisp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |