Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
fix: stabilize flaky test_switch_picker_respects_list_config (#1108)
Maximilian Roosb1d86b7bc527
diff --git a/tests/integration_tests/switch_picker.rs b/tests/integration_tests/switch_picker.rsindex 18a0b5b83..a4972c231 100644--- a/tests/integration_tests/switch_picker.rs+++ b/tests/integration_tests/switch_picker.rs@@ -831,6 +831,12 @@ fn test_switch_picker_preview_panel_summary(mut repo: TestRepo) {#[rstest]fn test_switch_picker_respects_list_config(mut repo: TestRepo) {+ // Use the same reliable setup as test_switch_picker_with_branches:+ // remove fixture worktrees (which use relative gitdir paths that can fail+ // to resolve under concurrent operations) and origin (to avoid remote branch noise)+ repo.remove_fixture_worktrees();+ repo.run_git(&["remote", "remove", "origin"]);+repo.add_worktree("active-worktree");// Create a branch without a worktreelet output = repo