summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorArun Isaac2023-10-16 17:27:50 +0100
committerArun Isaac2023-10-16 17:27:50 +0100
commit7cc6abe4b5d1af4a05a58705279f6172cf270825 (patch)
tree4bd59a97fa98788ffbd16c5d3acba561d845d532 /tests
parent985f892b58a6f8b18f498d62d0ed6d4e6860b985 (diff)
downloadccwl-7cc6abe4b5d1af4a05a58705279f6172cf270825.tar.gz
ccwl-7cc6abe4b5d1af4a05a58705279f6172cf270825.tar.lz
ccwl-7cc6abe4b5d1af4a05a58705279f6172cf270825.zip
ccwl: Flatten prefixed string arguments in command definitions.
* ccwl/ccwl.scm (run-args): Flatten prefixed string arguments in command definitions. * tests/ccwl.scm ("tolerate prefixed string arguments in command definitions"): New test.
Diffstat (limited to 'tests')
-rw-r--r--tests/ccwl.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ccwl.scm b/tests/ccwl.scm
index aef2a85..7cbb2c0 100644
--- a/tests/ccwl.scm
+++ b/tests/ccwl.scm
@@ -261,4 +261,7 @@
'(command #:run "echo" 42))
#f)))
+(test-assert "tolerate prefixed string arguments in command definitions"
+ (command #:run "echo" ("-x" "foo")))
+
(test-end "ccwl")