aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorArun Isaac2023-10-09 20:28:31 +0100
committerArun Isaac2023-10-09 21:59:52 +0100
commit17a76711d1f9bdaad133c9364a9bfd2ef10b8f22 (patch)
tree7c63197fe39e050cf1415aa93998e4f4e4174b8d /tests
parentde18ef6d55b52f52837395684e6b8265b2ad26b3 (diff)
downloadccwl-17a76711d1f9bdaad133c9364a9bfd2ef10b8f22.tar.gz
ccwl-17a76711d1f9bdaad133c9364a9bfd2ef10b8f22.tar.lz
ccwl-17a76711d1f9bdaad133c9364a9bfd2ef10b8f22.zip
ccwl: Allow literals as arguments.
* ccwl/ccwl.scm (<input>)[set-input-default]: New setter. * ccwl/ccwl.scm (<command>)[set-command-inputs]: Add setter. * ccwl/ccwl.scm (apply-partially): New function. (collect-steps): Support literal strings as arguments. * tests/ccwl.scm ("allow literal strings as arguments"): New test. * .dir-locals.el (scheme-mode): Indent set-command-inputs and set-input-default.
Diffstat (limited to 'tests')
-rw-r--r--tests/ccwl.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ccwl.scm b/tests/ccwl.scm
index 219e3f7..af76372 100644
--- a/tests/ccwl.scm
+++ b/tests/ccwl.scm
@@ -163,4 +163,8 @@
#:message message)))
#f)))
+(test-assert "allow literals as arguments"
+ (workflow ()
+ (print #:message "Hello")))
+
(test-end "ccwl")