Clean up some editor input debt and lifecycle issues (#24439)

This commit is contained in:
Benjamin Pasero
2017-04-10 19:37:42 +02:00
committed by GitHub
parent ec89a599b3
commit 5ecf0cda9a
33 changed files with 788 additions and 562 deletions

View File

@@ -60,7 +60,7 @@ suite('workspace-namespace', () => {
test('openTextDocument', () => {
let len = workspace.textDocuments.length;
return workspace.openTextDocument(join(workspace.rootPath || '', './far.js')).then(doc => {
return workspace.openTextDocument(join(workspace.rootPath || '', './simple.txt')).then(doc => {
assert.ok(doc);
assert.equal(workspace.textDocuments.length, len + 1);
});