fix generational box fuzzing
This commit is contained in:
1 parent
c3edf99b63
commit
b3f018f805
1 file changed
+1
-1
@@ -119,7 +119,7 @@ fn fuzz() {
|
|||||||
}
|
}
|
||||||
#[cfg(any(debug_assertions, feature = "check_generation"))]
|
#[cfg(any(debug_assertions, feature = "check_generation"))]
|
||||||
for key in invalid_keys.iter() {
|
for key in invalid_keys.iter() {
|
||||||
assert!(key.try_read().is_ok());
|
assert!(key.try_read().is_err());
|
||||||
}
|
}
|
||||||
maybe_owner_scope(valid_keys, invalid_keys, path);
|
maybe_owner_scope(valid_keys, invalid_keys, path);
|
||||||
invalid_keys.push(valid_keys.pop().unwrap());
|
invalid_keys.push(valid_keys.pop().unwrap());
|
||||||
|
|||||||
Reference in new issue
Block a user