mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
Follow up to PR #22021 to respond to feedback
This commit is contained in:
@@ -100,8 +100,8 @@ suite('workspace-namespace', () => {
|
||||
});
|
||||
});
|
||||
|
||||
test('openTextDocument, untitled without path but language ID and contents', function () {
|
||||
return workspace.openTextDocument({ language: 'html', contents: '<h1>Hello world!</h1>' }).then(doc => {
|
||||
test('openTextDocument, untitled without path but language ID and content', function () {
|
||||
return workspace.openTextDocument({ language: 'html', content: '<h1>Hello world!</h1>' }).then(doc => {
|
||||
assert.equal(doc.uri.scheme, 'untitled');
|
||||
assert.equal(doc.languageId, 'html');
|
||||
assert.ok(doc.isDirty);
|
||||
|
||||
Reference in New Issue
Block a user