Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
frenchy64 committed Nov 22, 2024
1 parent a71990a commit bd2551e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/malli/generator_test.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,8 @@

(testing "generator override"
(testing "without generator"
(let [schema [:fn {:gen/fmap '(fn [_] (rand-int 10))}
(let [schema [:fn {:gen/return 5
:gen/fmap '(fn [_] (rand-int 10))}
'(fn [x] (<= 0 x 10))]
generator (mg/generator schema)]
(dotimes [_ 100]
Expand Down

0 comments on commit bd2551e

Please sign in to comment.