Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
frenchy64 committed Jul 18, 2024
1 parent 2ad273c commit 6120dbf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/malli/poly_test.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@
m/deref
m/form))))

(deftest f-in-registry-test
(is (= [:-> [:schema {:registry {::a [:schema :any]}} [:schema :any]] [:schema :any]]
(m/form (m/deref (poly/all [a] [:-> [:schema {:registry {::a a}} a] a])
options)))))

(deftest poly-generator-test
;;TODO :P
(is (thrown-with-msg?
Expand Down

0 comments on commit 6120dbf

Please sign in to comment.