diff --git a/test/resources/aero_with_deserialization_issue.edn b/test/resources/aero_with_deserialization_issue.edn new file mode 100644 index 0000000..b1eb222 --- /dev/null +++ b/test/resources/aero_with_deserialization_issue.edn @@ -0,0 +1,5 @@ +{:simple "test" + :not-working-list '(1 2 3 + 4 5 + 6 7 + 8)} \ No newline at end of file diff --git a/test/src/data_test/loader_test.clj b/test/src/data_test/loader_test.clj index e53be4c..7669b8b 100644 --- a/test/src/data_test/loader_test.clj +++ b/test/src/data_test/loader_test.clj @@ -24,7 +24,8 @@ (sut/read-test-data-spec (io/resource "simple_aero.edn")))) (is (= {:to-be-refernced "ref-test", :key1 "ref-test", :key2 "ref-test"} (sut/read-test-data-spec (io/resource "tagged_aero.edn")))) - ) + (is (thrown? RuntimeException + (sut/read-test-data-spec (io/resource "aero_with_deserialization_issue.edn"))))) (deftest should-calculate-data-test-spec-file-prefix (is (= "data_test/loader_test/test_it"