Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

fix: suppress spurious mismatch warning for detached worktree switches (#1686)

Maximilian Roos0fd2d2c49927
diff --git a/tests/integration_tests/switch.rs b/tests/integration_tests/switch.rs
index 43328c75a..3f50200ad 100644
--- a/tests/integration_tests/switch.rs
+++ b/tests/integration_tests/switch.rs
@@ -1014,7 +1014,7 @@ fn test_switch_detached_worktree_by_path(mut repo: TestRepo) {
);
}
-/// Switch to a detached worktree by relative path.
+/// Switch to a detached worktree by relative path (#1661).
/// Relative paths with directory separators (e.g., "../repo.feature") are resolved against CWD.
#[rstest]
fn test_switch_detached_worktree_by_relative_path(mut repo: TestRepo) {