improve exception handling for aero issues

This commit is contained in:
jem 2019-06-06 08:47:33 +02:00
parent c3403158c2
commit f084e5d6c0
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,5 @@
{:simple "test"
:not-working-list '(1 2 3
4 5
6 7
8)}

View file

@ -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"