This commit is contained in:
erik 2022-11-08 13:52:49 +01:00
parent 6358701732
commit 2ee2985139
2 changed files with 10 additions and 14 deletions

View file

@ -28,8 +28,3 @@
(defmethod load-as-edn :default [resource-name]
(from-string (load-resource resource-name)))
(defmulti allowed-resources dispatch-by-resource-name)
(defmethod allowed-resources :default []
[])

View file

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