Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
frenchy64 committed Oct 24, 2024
1 parent 6843cfa commit e991002
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/flanders/malli_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -225,3 +225,15 @@
(-> Example
fm/->malli
ms/transform))))

(deftest conditional-test
(is (m/validate
(fm/->malli (f/conditional
boolean? f/any-bool))
false))
;;FIXME should add tests to schema
(is (not (m/validate
;;TODO
(fm/->malli (f/conditional
(constantly false) f/any-bool))
false))))

0 comments on commit e991002

Please sign in to comment.