From 5d52b31d8d768f5bf5f7a0bc7ada7dfd7893c578 Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Mon, 8 Dec 2025 18:18:19 +0100 Subject: [PATCH] understand why tests fails (#282002) https://github.com/microsoft/vscode/issues/254042 --- .../vscode-api-tests/src/singlefolder-tests/workspace.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/vscode-api-tests/src/singlefolder-tests/workspace.test.ts b/extensions/vscode-api-tests/src/singlefolder-tests/workspace.test.ts index 19f72931512..0f22c939a7b 100644 --- a/extensions/vscode-api-tests/src/singlefolder-tests/workspace.test.ts +++ b/extensions/vscode-api-tests/src/singlefolder-tests/workspace.test.ts @@ -1138,7 +1138,7 @@ suite('vscode API - workspace', () => { assert.strictEqual(e.files[1].toString(), file2.toString()); }); - test.skip('issue #107739 - Redo of rename Java Class name has no effect', async () => { // https://github.com/microsoft/vscode/issues/254042 + test('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); @@ -1149,7 +1149,7 @@ suite('vscode API - workspace', () => { const we = new vscode.WorkspaceEdit(); we.insert(file, new vscode.Position(0, 5), '2'); we.renameFile(file, newFile); - await vscode.workspace.applyEdit(we); + assert.ok(await vscode.workspace.applyEdit(we)); } // show the new document