From aeb689c63238f40d5bc83680fe7012fa69e7befe Mon Sep 17 00:00:00 2001 From: l0ng-ai Date: Sun, 15 Nov 2026 23:17:53 +0800 Subject: [PATCH] test(app): the command-line diff opens with Swap Sides (#3557) #3540 made the command-line diff swappable; the launch tests in windows.test.ts still expected the diff data without the flag. --- src/features/app/__tests__/windows.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/features/app/__tests__/windows.test.ts b/src/features/app/__tests__/windows.test.ts index 62de282d6..666a75bd7 100644 --- a/src/features/app/__tests__/windows.test.ts +++ b/src/features/app/__tests__/windows.test.ts @@ -499,6 +499,7 @@ describe("launch", () => { path: "/x/b.txt", left: { type: "file", path: "/x/a.txt", label: "/x/a.txt" }, right: { type: "worktree", label: "/x/b.txt" }, + swappable: true, }, ]); }); @@ -514,6 +515,7 @@ describe("launch", () => { path: "/p/b.txt", left: { type: "file", path: "/p/a.txt", label: "a.txt" }, right: { type: "worktree", label: "b.txt" }, + swappable: true, }, ]); });