fix explorerModelTest on linux

This commit is contained in:
Martin Aeschlimann 2018-08-09 12:54:52 +02:00
parent ac26c46742
commit 69a95b6907

View file

@ -18,7 +18,12 @@ function createStat(path: string, name: string, isFolder: boolean, hasChildren:
} }
function toResource(path) { function toResource(path) {
return URI.file(join('C:\\', path)); if (isWindows) {
return URI.file(join('C:\\', path));
} else {
return URI.file(join('/home/john', path));
}
} }
suite('Files - View Model', () => { suite('Files - View Model', () => {