support only custom title of preview pane, #2351

This commit is contained in:
Johannes Rieken
2016-06-03 10:44:31 +02:00
parent 63e98ebba7
commit 3d5e058652
3 changed files with 8 additions and 8 deletions

View File

@@ -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]);
});
});