Skip to content

Commit a576b4c

Browse files
data-douserCopilot
andauthored
Update extensions/vscode/test/suite/workspace-folder-change.integration.test.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Nathan Randall <70299490+data-douser@users.noreply.github.com>
1 parent a4ebae2 commit a576b4c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

extensions/vscode/test/suite/workspace-folder-change.integration.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ async function removeWorkspaceFolder(fsPath: string): Promise<void> {
6161
const idx = folders.findIndex((f) => f.uri.fsPath === fsPath);
6262
if (idx < 0) return;
6363
const changePromise = waitForWorkspaceFolderChange();
64-
vscode.workspace.updateWorkspaceFolders(idx, 1);
64+
const ok = vscode.workspace.updateWorkspaceFolders(idx, 1);
65+
assert.ok(ok, 'updateWorkspaceFolders (remove) returned false');
6566
await changePromise;
6667
}
6768

0 commit comments

Comments
 (0)