|
|
@ -15,6 +15,7 @@
|
|
|
|
(is (= ["a1" "a2" "b1"]
|
|
|
|
(is (= ["a1" "a2" "b1"]
|
|
|
|
(cut/concat-vec '("a1" "a2") '("b1")))))
|
|
|
|
(cut/concat-vec '("a1" "a2") '("b1")))))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#?(:clj
|
|
|
|
(deftest should-refuse-illegal-inputs
|
|
|
|
(deftest should-refuse-illegal-inputs
|
|
|
|
(is (thrown? Exception
|
|
|
|
(is (thrown? Exception
|
|
|
|
(cut/concat-vec ["a1" "a2"] "b1")))
|
|
|
|
(cut/concat-vec ["a1" "a2"] "b1")))
|
|
|
@ -23,4 +24,4 @@
|
|
|
|
(is (thrown? Exception
|
|
|
|
(is (thrown? Exception
|
|
|
|
(cut/concat-vec ["a1" "a2"] 2)))
|
|
|
|
(cut/concat-vec ["a1" "a2"] 2)))
|
|
|
|
(is (thrown? Exception
|
|
|
|
(is (thrown? Exception
|
|
|
|
(cut/concat-vec {"a1" "a2"} []))))
|
|
|
|
(cut/concat-vec {"a1" "a2"} [])))))
|