From 7cc6abe4b5d1af4a05a58705279f6172cf270825 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 16 Oct 2023 17:27:50 +0100 Subject: 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. --- tests/ccwl.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') 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") -- cgit v1.2.3