diff options
Diffstat (limited to 'tests/011')
-rw-r--r-- | tests/011/patmatch.tl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/011/patmatch.tl b/tests/011/patmatch.tl index 6a9c6f18..7768e89b 100644 --- a/tests/011/patmatch.tl +++ b/tests/011/patmatch.tl @@ -9,6 +9,7 @@ (yes no)) (test (when-match @a 42 (list a)) (42)) +(test (when-match (@nil) '(1) 'yes) yes) (test (when-match (@a @b @c) '(1 2 3) (list c b a)) (3 2 1)) (test (if-match (@a @b @c . @d) '(1 2 3 . 4) (list d c b a)) (4 3 2 1)) |