summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/run.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/run.scm b/tests/run.scm
index 3526ec0..b72ca75 100644
--- a/tests/run.scm
+++ b/tests/run.scm
@@ -45,9 +45,10 @@
(begin (run (echo foo) (>> ,tmpfile))
(read-lines tmpfile)))
- (test "Redirecting from object"
- '("blah" "foo" "testing, 1 2 3")
- (run/strings (cat ,tmpfile -) (<< "testing, 1 2 3")))
+ (let ((message "testing, 1 2 3"))
+ (test "Redirecting from object"
+ `("blah" "foo" ,message)
+ (run/strings (cat ,tmpfile -) (<< ,message))))
(delete-file* tmpfile)))
(test-group "Subprocesses"