From cb824d94d9d5a81acb498b6b9462a318ac4d23aa Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Wed, 7 Dec 2022 00:02:38 +0100 Subject: op: add test for variadic single argument case --- tests/test.mew | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)) -- cgit 1.4.1