Skip to content

Commit

Permalink
MATCH-51: fail to match empty vector when after guard
Browse files Browse the repository at this point in the history
  • Loading branch information
swannodette committed Jun 16, 2013
1 parent 2998fca commit b21d1a0
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 @@ -767,3 +767,9 @@
[{:bz b}] [:a1 b]
:else []))
[:a1 2])))

(deftest match-51
(is (= (match (vector)
([(re :guard string?)] :seq) 4
[] 6)
6)))

0 comments on commit b21d1a0

Please sign in to comment.