Skip to content

Commit

Permalink
MATCH-68: variant of MATCH-56, vectors w/ rest pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
swannodette committed Jun 17, 2013
1 parent 59df5b3 commit 302c355
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/test/clojure/clojure/core/match/test/core.clj
Expand Up @@ -801,3 +801,9 @@
[[h & t]] [h t]
:else :nomatch))
[1 []])))

(deftest match-68
(is (= (match [[:x]]
[[m n & _]] 1
:else nil)
nil)))

0 comments on commit 302c355

Please sign in to comment.