mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 01:58:53 +01:00
first cut green integration tests on windows
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
import * as assert from 'assert';
|
||||
import {workspace, window} from 'vscode';
|
||||
import {join} from 'path';
|
||||
import {cleanUp} from './utils';
|
||||
import {cleanUp, pathEquals} from './utils';
|
||||
|
||||
suite("window namespace tests", () => {
|
||||
|
||||
@@ -19,7 +19,7 @@ suite("window namespace tests", () => {
|
||||
return window.showTextDocument(doc).then((editor) => {
|
||||
const active = window.activeTextEditor;
|
||||
assert.ok(active);
|
||||
assert.equal(active.document.uri.fsPath, doc.uri.fsPath);
|
||||
assert.ok(pathEquals(active.document.uri.fsPath, doc.uri.fsPath));
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user