Update test

This commit is contained in:
Julien Cretin
2021-10-04 11:03:47 +02:00
committed by Julien Cretin
parent af3bee64a5
commit d085d54878

View File

@@ -46,7 +46,10 @@ fn interrupted_overflowing_compaction() {
StoreInterruption::pure(1),
) {
Ok((None, d)) => driver = d.power_on().unwrap(),
_ => unreachable!(),
_ => {
assert!(false);
return;
}
}
}
}
@@ -114,7 +117,10 @@ fn full_compaction_with_max_prefix() {
StoreInterruption::pure(1),
) {
Ok((None, d)) => driver = d.power_on().unwrap(),
_ => unreachable!(),
_ => {
assert!(false);
return;
}
}
}
check_lifetime(&mut driver, c + n - 1);