mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
Fix integration tests
This commit is contained in:
parent
357d4e7a0e
commit
296147c88e
|
@ -926,7 +926,10 @@ suite('vscode API - workspace', () => {
|
||||||
assert.ok(await vscode.workspace.applyEdit(we));
|
assert.ok(await vscode.workspace.applyEdit(we));
|
||||||
|
|
||||||
const document = await vscode.workspace.openTextDocument(newUri);
|
const document = await vscode.workspace.openTextDocument(newUri);
|
||||||
assert.equal(document.isDirty, true);
|
// 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);
|
||||||
|
|
||||||
await document.save();
|
await document.save();
|
||||||
assert.equal(document.isDirty, false);
|
assert.equal(document.isDirty, false);
|
||||||
|
|
Loading…
Reference in a new issue