Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
frenchy64 committed Jul 12, 2024
1 parent 1ba5b36 commit 07f81d3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions test/ctim/test_helpers/core.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@

(defn fixture-spec-validation [t]
(with-redefs [cs/registry-ref (atom (cs/registry))]
(try (stest/instrument 'fs/->spec)
(cs/check-asserts true)
(t)
(stest/instrument 'fs/->spec)
(try (cs/check-asserts true)
(try (t)
(finally
(cs/check-asserts false)))
(finally
(cs/check-asserts false)
(stest/unstrument 'fs/->spec)))))

(defn fixture-spec [node-to-spec ns]
Expand Down

0 comments on commit 07f81d3

Please sign in to comment.