From 5aab937646bebb4998491def71f0653480a286f4 Mon Sep 17 00:00:00 2001 From: Peter Bex Date: Tue, 2 Oct 2012 15:40:44 +0100 Subject: Use implicit quasiquotation inside object-redirection rule too --- tests/run.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tests') 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" -- cgit v1.2.3