Finalize test for #107739

This commit is contained in:
Alex Dima
2020-10-06 22:45:46 +02:00
parent 443508c4c9
commit ca01c69720
2 changed files with 12 additions and 15 deletions

View File

@@ -1006,13 +1006,13 @@ suite('vscode API - workspace', () => {
assert.equal(document.getText(), 'hello');
}
// // redo and show the new document
// {
// await vscode.commands.executeCommand('redo');
// const document = await vscode.workspace.openTextDocument(newFile);
// await vscode.window.showTextDocument(document);
// assert.equal(document.getText(), 'hello2');
// }
// redo and show the new document
{
await vscode.commands.executeCommand('redo');
const document = await vscode.workspace.openTextDocument(newFile);
await vscode.window.showTextDocument(document);
assert.equal(document.getText(), 'hello2');
}
});
});