mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 00:59:03 +01:00
Finalize test for #107739
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user