fixxed test failure
This commit is contained in:
parent
21b03e2ef8
commit
149f1afd90
2 changed files with 2 additions and 2 deletions
|
@ -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))))
|
||||||
|
|
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue