Permalink
Browse files

Modified list test

Added a test for checking that both sequences and vectors are
destructured by vectors.
  • Loading branch information...
1 parent c719b6f commit 8d9a687513d1b81e950a3c37a89fe859d265ac6d @LiamGoodacre committed Jun 13, 2012
Showing with 3 additions and 1 deletion.
  1. +1 −0 .lein-deps-sum
  2. +1 −0 .lein-failures
  3. +1 −1 test/TypeMatch/test/core.clj
View
@@ -0,0 +1 @@
+62a515d356808c1e3963ff5f1e9d12f7f0a65cc8
View
@@ -0,0 +1 @@
+#{}
@@ -25,7 +25,7 @@
;; Destructured Vector/Sequence -> True
(defis ttest-v-1 [:int :str] [42 "Hello, world."])
-(defis ttest-v-2 [[:int :int] :str] [[42 37] "Hello, world."])
+(defis ttest-v-2 [[:int :int] :str] '((42 37) "Hello, world."))
(defis ttest-v-3 [:-> :int] [1 2 3 4 5])
(defno ttest-v-4 [:-> :int] [1 2 :foo 4 5])

0 comments on commit 8d9a687

Please sign in to comment.