Closed glebpom closed 4 months ago
On bolero 0.11:
This test:
bolero::check!() .with_arbitrary::<String>() .cloned() .for_each(|input| { println!("{:?}", input); true });
gives only empty strings, but if changing with_arbitrary to with_type, it gives random strings.
with_arbitrary
with_type
Thanks for opening an issue! I've got a fix in #238, along with new test assertions making sure it doesn't happen again.
On bolero 0.11:
This test:
gives only empty strings, but if changing
with_arbitrary
towith_type
, it gives random strings.