Permalink
Browse files

MATCH-68: variant of MATCH-56, vectors w/ rest pattern

  • Loading branch information...
1 parent 59df5b3 commit 302c355ebf751fa8dc442c8db8b901ebb4eacfae @swannodette swannodette committed Jun 17, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/test/clojure/clojure/core/match/test/core.clj
@@ -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.