huskies: merge 988
This commit is contained in:
@@ -679,7 +679,19 @@ mod tests {
|
||||
"blocked",
|
||||
"should be in blocked after transition_to_blocked"
|
||||
);
|
||||
assert!(item.stage.is_blocked(), "is_blocked() should return true");
|
||||
assert!(
|
||||
matches!(
|
||||
item.stage,
|
||||
Stage::Blocked { .. }
|
||||
| Stage::MergeFailure { .. }
|
||||
| Stage::MergeFailureFinal { .. }
|
||||
| Stage::Archived {
|
||||
reason: ArchiveReason::Blocked { .. },
|
||||
..
|
||||
}
|
||||
),
|
||||
"stage should be a blocked variant"
|
||||
);
|
||||
assert!(
|
||||
matches!(item.stage, Stage::Blocked { .. }),
|
||||
"stage should be Stage::Blocked variant"
|
||||
|
||||
Reference in New Issue
Block a user