Unified · Split
| @@ -35,7 +35,7 @@ describe("showDesktopConfirmDialog", () => { · 34 unmodified lines | ||
| 35 | 35 | expect(showMessageBoxMock).toHaveBeenCalledWith( |
| 36 | 36 | ownerWindow, |
| 37 | 37 | expect.objectContaining({ |
| 38 | − buttons: ["Cancel", "Confirm"], | |
| 38 | + buttons: ["No", "Yes"], | |
| 39 | 39 | message: "Delete worktree?", |
| 40 | 40 | }), |
| 41 | 41 | ); |
| @@ -49,7 +49,7 @@ describe("showDesktopConfirmDialog", () => { · 7 unmodified lines | ||
| 49 | 49 | expect(result).toBe(false); |
| 50 | 50 | expect(showMessageBoxMock).toHaveBeenCalledWith( |
| 51 | 51 | expect.objectContaining({ |
| 52 | − buttons: ["Cancel", "Confirm"], | |
| 52 | + buttons: ["No", "Yes"], | |
| 53 | 53 | message: "Delete worktree?", |
| 54 | 54 | }), |
| 55 | 55 | ); |
| @@ -13,7 +13,7 @@ export async function showDesktopConfirmDialog( · 12 unmodified lines | ||
| 13 | 13 | |
| 14 | 14 | const options = { |
| 15 | 15 | type: "question" as const, |
| 16 | − buttons: ["Cancel", "Confirm"], | |
| 16 | + buttons: ["No", "Yes"], | |
| 17 | 17 | defaultId: CONFIRM_BUTTON_INDEX, |
| 18 | 18 | cancelId: 0, |
| 19 | 19 | noLink: true, |