summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2022-12-07 00:02:38 +0100
committerLeah Neukirchen <leah@vuxu.org>2022-12-07 00:33:40 +0100
commitcb824d94d9d5a81acb498b6b9462a318ac4d23aa (patch)
tree6d3582d179a925ad2744494d29ac8fc822e0d5c0 /tests
parent34b44c8c44ef78563a38ef931cc78f8934f7e291 (diff)
downloadmew-cb824d94d9d5a81acb498b6b9462a318ac4d23aa.tar.gz
mew-cb824d94d9d5a81acb498b6b9462a318ac4d23aa.tar.xz
mew-cb824d94d9d5a81acb498b6b9462a318ac4d23aa.zip
op: add test for variadic single argument case
Diffstat (limited to 'tests')
-rw-r--r--tests/test.mew4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test.mew b/tests/test.mew
index ff9685e..5587d90 100644
--- a/tests/test.mew
+++ b/tests/test.mew
@@ -244,7 +244,9 @@
   (test 42 ((op * 6 _) 7))
   (test 42 ((op * 2 _ 3) 7))
   (test 42 ((op - _ 3) 45))
-  (test 42 ((op + _ _ _ (- _ _)) 14)))
+  (test 42 ((op + _ _ _ (- _ _)) 14))
+  (test 42 ((op 42)))
+  (test 42 ((op 42) 1 2 3)))
 
 (test-group "op*"
   (test 42 ((op* *) 6 7))