improve exception handling for aero issues
This commit is contained in:
parent
c3403158c2
commit
f084e5d6c0
2 changed files with 7 additions and 1 deletions
5
test/resources/aero_with_deserialization_issue.edn
Normal file
5
test/resources/aero_with_deserialization_issue.edn
Normal file
|
@ -0,0 +1,5 @@
|
|||
{:simple "test"
|
||||
:not-working-list '(1 2 3
|
||||
4 5
|
||||
6 7
|
||||
8)}
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue