Skip to content

Commit

Permalink
added test to ensure lambda-list signals error with nc pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshay Srinivasan committed Oct 29, 2016
1 parent f9853b8 commit 4cb2720
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/level2.lisp
Expand Up @@ -71,7 +71,9 @@
((lambda-list-nc &key x &allow-other-keys (list :y 1))
(pass))
(_
(fail "should not match"))))
(fail "should not match")))
(signals error
(pattern-expand-1 `(lambda-list &key x &allow-other-keys (list :y 1)))))

(test array
(match #2A((0 1) (2 3))
Expand Down

0 comments on commit 4cb2720

Please sign in to comment.