Skip to content

Commit 1cfe31d

Browse files
author
Benjamin Pasero
committed
fix tests
1 parent 5fba1b4 commit 1cfe31d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/vs/platform/files/test/electron-browser/normalizer.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import { FileChangeType, FileChangesEvent } from 'vs/platform/files/common/files
99
import { URI as uri } from 'vs/base/common/uri';
1010
import { IDiskFileChange, normalizeFileChanges, toFileChanges } from 'vs/platform/files/node/watcher/watcher';
1111
import { Event, Emitter } from 'vs/base/common/event';
12-
import { extUri } from 'vs/base/common/resources';
12+
import { ExtUri } from 'vs/base/common/resources';
1313

1414
function toFileChangesEvent(changes: IDiskFileChange[]): FileChangesEvent {
15-
return new FileChangesEvent(toFileChanges(changes), extUri);
15+
return new FileChangesEvent(toFileChanges(changes), new ExtUri(() => !platform.isLinux));
1616
}
1717

1818
class TestFileWatcher {

0 commit comments

Comments
 (0)