aboutsummaryrefslogtreecommitdiff
path: root/src/client/shell/tests/agents_worktrees_notifications.rs
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-09-09 00:32:05 +0300
committerGitHub <noreply@github.com>2026-09-09 00:32:05 +0300
commit8be4cf765afddfd9cf3206602ba4dab682a29fa1 (patch)
tree05bbf779fcaef09f32df3e7a50a053e9a656f58c /src/client/shell/tests/agents_worktrees_notifications.rs
parent8996fc54fe4596368a1677821b1a390a70c56ab0 (diff)
fix: restore autofocus when creating worktrees (#3787)
* fix: restore autofocus when creating worktrees refs #3766 * fix: let the client focus newly created worktrees refs #3766
Diffstat (limited to 'src/client/shell/tests/agents_worktrees_notifications.rs')
-rw-r--r--src/client/shell/tests/agents_worktrees_notifications.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/shell/tests/agents_worktrees_notifications.rs b/src/client/shell/tests/agents_worktrees_notifications.rs
index 10f97118..2291318e 100644
--- a/src/client/shell/tests/agents_worktrees_notifications.rs
+++ b/src/client/shell/tests/agents_worktrees_notifications.rs
@@ -978,7 +978,7 @@ fn worktree_create_previews_the_endpoint_owned_checkout_path() {
if params.workspace_id.as_deref() == Some("ws_1")
&& params.branch.as_deref() == Some("feature/client-shell")
&& params.path.is_none()
- && params.focus
+ && !params.focus
));
}