This commit is contained in:
Johannes Rieken
2025-12-16 16:45:42 +01:00
committed by GitHub
parent 3cd24f525e
commit d13c32e27f

View File

@@ -1138,7 +1138,7 @@ suite('vscode API - workspace', () => {
assert.strictEqual(e.files[1].toString(), file2.toString());
});
test('issue #107739 - Redo of rename Java Class name has no effect', async () => { // https://github.com/microsoft/vscode/issues/254042
test.skip('issue #107739 - Redo of rename Java Class name has no effect', async () => { // https://github.com/microsoft/vscode/issues/254042
const file = await createRandomFile('hello');
const fileName = basename(file.fsPath);
@@ -1154,7 +1154,7 @@ suite('vscode API - workspace', () => {
// show the new document
{
const document = await vscode.workspace.openTextDocument(newFile);
const document = await vscode.workspace.openTextDocument(newFile); // FAILS here
await vscode.window.showTextDocument(document);
assert.strictEqual(document.getText(), 'hello2');
assert.strictEqual(document.isDirty, true);