lib/prop_check/property.rb in prop_check-0.18.0 vs lib/prop_check/property.rb in prop_check-0.18.1
- old
+ new
@@ -330,10 +330,10 @@
.lazy
.take(@config.n_runs)
end
private def raw_attempts_enum(binding_generator)
- rng = Random::DEFAULT
+ rng = Random.new
size = 1
(0...@config.max_generate_attempts)
.lazy
.map do
generator_size = @config.resize_function.call(size).to_i