Skip to content

Commit

Permalink
simpler test
Browse files Browse the repository at this point in the history
  • Loading branch information
ikitommi committed Jan 4, 2024
1 parent bb26a77 commit 4c83055
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/malli/registry_test.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,7 @@
(is (= nil (mr/-schemas var-registry))))

(testing "it works"
(is (= [:map
[:id #'UserId]
[:friends {:optional true} [:set [:ref #'User]]]]
(m/form schema)))
(is (= User (m/form schema)))
(is (every? (m/validator schema) (mg/sample schema {:seed 100}))))))

(deftest lazy-registry-test
Expand Down

0 comments on commit 4c83055

Please sign in to comment.