mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-12 01:28:01 +01:00
paths are hard, #33709
This commit is contained in:
@@ -15,7 +15,11 @@ suite('ExtHostWorkspace', function () {
|
||||
|
||||
function assertAsRelativePath(workspace: ExtHostWorkspace, input: string, expected: string, includeWorkspace?: boolean) {
|
||||
const actual = workspace.getRelativePath(input, includeWorkspace);
|
||||
assert.equal(actual, expected && normalize(expected, true));
|
||||
if (actual === expected) {
|
||||
assert.ok(true);
|
||||
} else {
|
||||
assert.equal(actual, normalize(expected, true));
|
||||
}
|
||||
}
|
||||
|
||||
test('asRelativePath', function () {
|
||||
|
||||
Reference in New Issue
Block a user