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.
This commit is contained in:
l0ng-ai
2026-11-15 23:17:53 +08:00
committed by GitHub
parent 80c25be389
commit aeb689c632
@@ -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,
},
]);
});