Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion crates/stack-stat-core/tests/live_gh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,10 @@ async fn discovers_a_three_pr_stack_and_loads_details() {
let details = github.pr_details(&stack).await.unwrap();
assert_eq!(details.prs.len(), 3);
assert!(details.prs.iter().all(|pr| pr.is_draft));
assert!(details.remote_rebase_branches.is_empty());
// s1-a is based on `main`, which moves, so it may legitimately be behind.
// s1-b and s1-c sit on fixture branches that only reset moves.
assert!(!details.remote_rebase_branches.contains("fixture/s1-b"));
assert!(!details.remote_rebase_branches.contains("fixture/s1-c"));
}

/// Assert a one-row single-mode view and return its row.
Expand Down
Loading