You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you create a Generator with a lower max_repeat than the pattern requires, the generator will not error, but you will get a panic when actually generating input.
Example input pattern: x{150,} (repeat x at least 150 times).
panic:
thread <redacted> panicked at 'Uniform::new_inclusive called with `low > high`',<redacted>/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/distributions/uniform.rs:567:1
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
The text was updated successfully, but these errors were encountered:
If you create a
Generator
with a lowermax_repeat
than the pattern requires, the generator will not error, but you will get a panic when actually generating input.Example input pattern:
x{150,}
(repeat x at least 150 times).panic:
The text was updated successfully, but these errors were encountered: