Follow up to PR #22021 to respond to feedback

This commit is contained in:
Cody Hoover
2017-03-07 21:32:17 +01:00
parent 85b90a9a86
commit ee4473f1ef
6 changed files with 10 additions and 10 deletions

View File

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