summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/when.bth2
-rw-r--r--tests/when.out1
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/when.bth b/tests/when.bth
new file mode 100644
index 0000000..592bb54
--- /dev/null
+++ b/tests/when.bth
@@ -0,0 +1,2 @@
+(when (= (* 6 6) 36) (say 'yes))
+(when (= (+ 2 2) 5) (say 'no))
diff --git a/tests/when.out b/tests/when.out
new file mode 100644
index 0000000..7cfab5b
--- /dev/null
+++ b/tests/when.out
@@ -0,0 +1 @@
+yes