mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 01:58:53 +01:00
Clean up some editor input debt and lifecycle issues (#24439)
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user