summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-08-17 21:28:12 +0100
committerubq323 <ubq323@ubq323.website>2024-08-17 21:28:12 +0100
commit976aeda6465d0700843acbacdf79e18a652fd57e (patch)
tree259686d58b6b1b8dab248f3b9bf03aa5157735ac /tests
parent41989a2ad51b15bf512b81f2c147070ba8a28ef8 (diff)
add when form
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