diff --git a/src/vs/workbench/test/node/api/extHostWorkspace.test.ts b/src/vs/workbench/test/node/api/extHostWorkspace.test.ts index 775c768e064bab35f8abb6668aa5c96cec5b6f40..a6aee8f4070ef773a0ca711ba3193ec732dd576d 100644 --- a/src/vs/workbench/test/node/api/extHostWorkspace.test.ts +++ b/src/vs/workbench/test/node/api/extHostWorkspace.test.ts @@ -6,7 +6,6 @@ 'use strict'; import * as assert from 'assert'; -import { normalize } from 'path'; import { ExtHostWorkspace } from 'vs/workbench/api/node/extHostWorkspace'; import { TestThreadService } from './testThreadService'; @@ -16,12 +15,12 @@ suite('ExtHostWorkspace', function () { const ws = new ExtHostWorkspace(new TestThreadService(), '/Coding/Applications/NewsWoWBot'); - assert.equal(ws.getRelativePath('/Coding/Applications/NewsWoWBot/bernd/das/brot'), normalize('bernd/das/brot')); + assert.equal(ws.getRelativePath('/Coding/Applications/NewsWoWBot/bernd/das/brot'), 'bernd/das/brot'); assert.equal(ws.getRelativePath('/Apps/DartPubCache/hosted/pub.dartlang.org/convert-2.0.1/lib/src/hex.dart'), - normalize('/Apps/DartPubCache/hosted/pub.dartlang.org/convert-2.0.1/lib/src/hex.dart')); + '/Apps/DartPubCache/hosted/pub.dartlang.org/convert-2.0.1/lib/src/hex.dart'); assert.equal(ws.getRelativePath(''), ''); - assert.equal(ws.getRelativePath('/foo/bar'), normalize('/foo/bar')); + assert.equal(ws.getRelativePath('/foo/bar'), '/foo/bar'); }); test('asRelativePath, same paths, #11402', function () { @@ -29,10 +28,10 @@ suite('ExtHostWorkspace', function () { const input = '/home/aeschli/workspaces/samples/docker'; const ws = new ExtHostWorkspace(new TestThreadService(), root); - assert.equal(ws.getRelativePath(input), normalize(input)); + assert.equal(ws.getRelativePath(input), input); const input2 = '/home/aeschli/workspaces/samples/docker/a.file'; - assert.equal(ws.getRelativePath(input2), normalize('a.file')); + assert.equal(ws.getRelativePath(input2), 'a.file'); }); });