mirror of
https://github.com/Microsoft/vscode
synced 2024-10-13 06:48:17 +00:00
fix explorerModelTest on linux
This commit is contained in:
parent
ac26c46742
commit
69a95b6907
|
@ -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', () => {
|
||||||
|
|
Loading…
Reference in a new issue