This commit is contained in:
nora 2025-03-10 20:21:07 +01:00
parent af84ff7ca6
commit 3c06645479
2 changed files with 5 additions and 4 deletions

View file

@ -1126,11 +1126,8 @@ mod tests {
use std::io::Write;
#[test]
#[cfg_attr(not(slow_tests), ignore)]
fn exhaustive_decode_no_panic() {
if std::env::var("SLOW_TESTS").is_err() {
return;
}
for i in 0..u32::MAX {
if (i % (2 << 25)) == 0 {
let percent = i as f32 / (u32::MAX as f32);