fixxed test failure

This commit is contained in:
jem 2019-05-20 09:05:44 +02:00
parent 21b03e2ef8
commit 149f1afd90
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@
(s/defn load-test-data (s/defn load-test-data
[file-prefix :- s/Str] [file-prefix :- s/Str]
(let [file-path (str (data-file-prefix file-prefix) ".edn")] (let [file-path (str file-prefix ".edn")]
(println file-path) (println file-path)
(read-data (read-data
(io/resource file-path)))) (io/resource file-path))))

View file

@ -33,7 +33,7 @@
(deftest should-load-data (deftest should-load-data
(is (= {:test "data"} (is (= {:test "data"}
(sut/load-test-data ::test-it)))) (sut/load-test-data (sut/data-file-prefix ::test-it)))))
(s/defmethod sut/data-test ::test-it (s/defmethod sut/data-test ::test-it
[_ input :- s/Any expectation :- s/Any] [_ input :- s/Any expectation :- s/Any]