wip: show the completion in the cancel test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-29 19:38:28 +02:00
commit d34f5dc3f9

View file

@ -13998,10 +13998,12 @@ mod tests {
drive(&world, |transaction| transaction.completion.is_some())?;
let finished = latest(&world)?;
assert!(matches!(
assert!(
matches!(finished.completion, Some(TransactionCompletion::FailedBeforeFencing { .. })),
"{:?} / {:?}",
finished.completion,
Some(TransactionCompletion::FailedBeforeFencing { .. })
));
finished.pre_fencing_abort
);
assert!(finished.is_terminal());
// The target is released and nothing of the incumbent was touched.
assert!(!finished.blocks_new_target_mutation());