mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 17:19:01 +01:00
Fixes #107815: Remove save RenameOperation
This commit is contained in:
@@ -926,10 +926,7 @@ suite('vscode API - workspace', () => {
|
||||
assert.ok(await vscode.workspace.applyEdit(we));
|
||||
|
||||
const document = await vscode.workspace.openTextDocument(newUri);
|
||||
// See https://github.com/microsoft/vscode/issues/107739
|
||||
// RenameOperation currently saves the file before applying the rename
|
||||
// so that is why the document is not dirty here
|
||||
assert.equal(document.isDirty, false);
|
||||
assert.equal(document.isDirty, true);
|
||||
|
||||
await document.save();
|
||||
assert.equal(document.isDirty, false);
|
||||
|
||||
Reference in New Issue
Block a user