about summary refs log tree commit diff
path: root/tests/ccwl.scm
diff options
context:
space:
mode:
authorArun Isaac2026-06-24 22:31:25 +0100
committerArun Isaac2026-06-24 22:31:25 +0100
commitc49dbef130f09667c619d1b7b77380aa53bae7e8 (patch)
tree89178c79d562ee93d9419b8c7965fba6a4d9805d /tests/ccwl.scm
parent4fd05cb575292ef82cdc463b9f7aa5842e2b023e (diff)
downloadccwl-c49dbef130f09667c619d1b7b77380aa53bae7e8.tar.gz
ccwl-c49dbef130f09667c619d1b7b77380aa53bae7e8.tar.lz
ccwl-c49dbef130f09667c619d1b7b77380aa53bae7e8.zip
ccwl: Error out if #:binding is specified on stdout type output.
Diffstat (limited to 'tests/ccwl.scm')
-rw-r--r--tests/ccwl.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ccwl.scm b/tests/ccwl.scm
index ea14f86..bd852e9 100644
--- a/tests/ccwl.scm
+++ b/tests/ccwl.scm
@@ -108,6 +108,11 @@
   ccwl-violation?
   (output #'(message #:type int string)))
 
+(test-condition "output, when passed a #:binding to an stdout type, must raise a &ccwl-violation condition"
+  ccwl-violation?
+  (output #'(message #:type stdout
+                     #:binding ((glob . "output.txt")))))
+
 (test-condition "command, when passed positional arguments, must raise a &ccwl-violation condition"
   ccwl-violation?
   (macroexpand