mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
support only custom title of preview pane, #2351
This commit is contained in:
@@ -70,7 +70,7 @@ suite('commands namespace tests', () => {
|
||||
});
|
||||
|
||||
let virtualDocumentUri = Uri.parse('speciale://authority/path');
|
||||
let title = { label: 'A title', description: 'A description' };
|
||||
let title = 'A title';
|
||||
|
||||
return commands.executeCommand('vscode.previewHtml', virtualDocumentUri, title).then(success => {
|
||||
assert.ok(success);
|
||||
@@ -101,6 +101,6 @@ suite('commands namespace tests', () => {
|
||||
let c = commands.executeCommand('vscode.diff').then(() => assert.ok(false), () => assert.ok(true));
|
||||
let d = commands.executeCommand('vscode.diff', 1, 2, 3).then(() => assert.ok(false), () => assert.ok(true));
|
||||
|
||||
return Promise.all([a, b, c]);
|
||||
return Promise.all([a, b, c, d]);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user