mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-27 10:37:38 +01:00
fix tests
This commit is contained in:
+3
-3
@@ -8,6 +8,7 @@
|
||||
import * as sinon from 'sinon';
|
||||
import * as assert from 'assert';
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
import { assign } from 'vs/base/common/objects';
|
||||
import { TPromise } from 'vs/base/common/winjs.base';
|
||||
import { generateUuid } from 'vs/base/common/uuid';
|
||||
@@ -39,7 +40,6 @@ import { IDialogService } from 'vs/platform/dialogs/common/dialogs';
|
||||
import { INotificationService } from 'vs/platform/notification/common/notification';
|
||||
import { URLService } from 'vs/platform/url/common/urlService';
|
||||
import URI from 'vs/base/common/uri';
|
||||
import { join } from 'vs/base/common/paths';
|
||||
|
||||
suite('ExtensionsWorkbenchService Test', () => {
|
||||
|
||||
@@ -194,8 +194,8 @@ suite('ExtensionsWorkbenchService Test', () => {
|
||||
assert.equal('1.1.0', actual.version);
|
||||
assert.equal('1.1.0', actual.latestVersion);
|
||||
assert.equal('localDescription1', actual.description);
|
||||
assert.equal(URI.file(join('localPath1', 'localIcon1')).toString(), actual.iconUrl);
|
||||
assert.equal(URI.file(join('localPath1', 'localIcon1')).toString(), actual.iconUrlFallback);
|
||||
assert.equal(expected1.location.with({ path: path.join(expected1.location.path, 'localIcon1') }).toString(), actual.iconUrl);
|
||||
assert.equal(expected1.location.with({ path: path.join(expected1.location.path, 'localIcon1') }).toString(), actual.iconUrlFallback);
|
||||
assert.equal(null, actual.licenseUrl);
|
||||
assert.equal(ExtensionState.Installed, actual.state);
|
||||
assert.equal(null, actual.installCount);
|
||||
|
||||
Reference in New Issue
Block a user