Skip to content

Commit 478551b

Browse files
authored
Failing files unit tests (fix microsoft#182079) (microsoft#182089)
1 parent 21dda74 commit 478551b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/vs/workbench/contrib/files/test/browser/fileEditorInput.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ suite('Files - FileEditorInput', () => {
5656
disposables.dispose();
5757
});
5858

59-
test.skip('Basics', async function () {
59+
test('Basics', async function () {
6060
let input = createFileInput(toResource.call(this, '/foo/bar/file.js'));
6161
const otherInput = createFileInput(toResource.call(this, 'foo/bar/otherfile.js'));
6262
const otherInputSame = createFileInput(toResource.call(this, 'foo/bar/file.js'));

src/vs/workbench/services/textfile/common/textFileEditorModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export class TextFileEditorModel extends BaseTextEditorModel implements ITextFil
9797
private static readonly UNDO_REDO_SAVE_PARTICIPANTS_AUTO_SAVE_THROTTLE_THRESHOLD = 500;
9898
private lastModelContentChangeFromUndoRedo: number | undefined = undefined;
9999

100-
private lastResolvedFileStat: IFileStatWithMetadata | undefined;
100+
lastResolvedFileStat: IFileStatWithMetadata | undefined; // !!! DO NOT MARK PRIVATE! USED IN TESTS !!!
101101

102102
private readonly saveSequentializer = new TaskSequentializer();
103103

src/vs/workbench/services/textfile/test/browser/textFileEditorModel.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ suite('Files - TextFileEditorModel', () => {
628628
model.dispose();
629629
});
630630

631-
test.skip('save() and isDirty() - proper with check for mtimes', async function () {
631+
test('save() and isDirty() - proper with check for mtimes', async function () {
632632
const input1 = createFileEditorInput(instantiationService, toResource.call(this, '/path/index_async2.txt'));
633633
const input2 = createFileEditorInput(instantiationService, toResource.call(this, '/path/index_async.txt'));
634634

0 commit comments

Comments
 (0)