diff --git a/src/vs/workbench/test/node/api/extHostTypes.test.ts b/src/vs/workbench/test/node/api/extHostTypes.test.ts index e2b0189aafeb8a0f809c578321ecea35ad5f6a71..4b4e8f774ec9b5f961eba49be216b8ba123e772e 100644 --- a/src/vs/workbench/test/node/api/extHostTypes.test.ts +++ b/src/vs/workbench/test/node/api/extHostTypes.test.ts @@ -27,7 +27,7 @@ suite('ExtHostTypes', function() { scheme: 'file', authority: '', path: '/path/test.file', - fsPath: '/path/test.file'.replace('/', isWindows ? '\\' : '/'), + fsPath: '/path/test.file'.replace(/\//g, isWindows ? '\\' : '/'), query: '', fragment: '', external: 'file:///path/test.file'