diff --git a/main/src/data_test/runner.clj b/main/src/data_test/runner.clj index 4ebe689..dca73ae 100644 --- a/main/src/data_test/runner.clj +++ b/main/src/data_test/runner.clj @@ -59,7 +59,7 @@ (s/defn load-test-data [file-prefix :- s/Str] - (let [file-path (str (data-file-prefix file-prefix) ".edn")] + (let [file-path (str file-prefix ".edn")] (println file-path) (read-data (io/resource file-path)))) diff --git a/test/src/data_test/runner_test.clj b/test/src/data_test/runner_test.clj index c395d9d..e7ac182 100644 --- a/test/src/data_test/runner_test.clj +++ b/test/src/data_test/runner_test.clj @@ -33,7 +33,7 @@ (deftest should-load-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 [_ input :- s/Any expectation :- s/Any]