Skip to content

Commit bf9bbbb

Browse files
authored
scratchpad - fix tests on macOS (microsoft#184314)
1 parent 15dc0b5 commit bf9bbbb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/vs/workbench/services/workingCopy/test/electron-sandbox/workingCopyBackupTracker.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ suite('WorkingCopyBackupTracker (native)', function () {
570570
return scratchpadHotExitTest.call(this, HotExitConfiguration.ON_EXIT, ShutdownReason.CLOSE, false, true, false);
571571
});
572572
test('should hot exit (reason: CLOSE, windows: single, empty workspace)', function () {
573-
return scratchpadHotExitTest.call(this, HotExitConfiguration.ON_EXIT, ShutdownReason.CLOSE, false, false, false);
573+
return scratchpadHotExitTest.call(this, HotExitConfiguration.ON_EXIT, ShutdownReason.CLOSE, false, false, !!isMacintosh);
574574
});
575575
test('should hot exit (reason: CLOSE, windows: multiple, workspace)', function () {
576576
return scratchpadHotExitTest.call(this, HotExitConfiguration.ON_EXIT, ShutdownReason.CLOSE, true, true, false);
@@ -759,8 +759,6 @@ suite('WorkingCopyBackupTracker (native)', function () {
759759
assert.strictEqual(veto, shouldVeto);
760760

761761
await cleanup();
762-
763-
await cleanup();
764762
}
765763
});
766764
});

0 commit comments

Comments
 (0)