fix generational box fuzzing

This commit is contained in:
Evan Almloff 2024-01-23 07:33:53 -06:00
parent 89b7784d31
commit a51744c439

View file

@ -119,7 +119,7 @@ fn fuzz() {
}
#[cfg(any(debug_assertions, feature = "check_generation"))]
for key in invalid_keys.iter() {
assert!(!key.validate());
assert!(key.try_read().is_ok());
}
maybe_owner_scope(valid_keys, invalid_keys, path);
invalid_keys.push(valid_keys.pop().unwrap());