Skip to content

Commit 360b058

Browse files
committed
Fix e2e tests
There's no need to wrap the args for ocamllsp/switchImplIntf. The client already does this. Signed-off-by: Rudi Grinberg <[email protected]>
1 parent f2303a7 commit 360b058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocaml-lsp-server/test/e2e/__tests__/ocamllsp-switchImplIntf.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe("ocamllsp/switchImplIntf", () => {
1818
async function ocamllspSwitchImplIntf(
1919
documentUri: DocumentUri,
2020
): Promise<Array<DocumentUri>> {
21-
return languageServer.sendRequest("ocamllsp/switchImplIntf", [documentUri]);
21+
return languageServer.sendRequest("ocamllsp/switchImplIntf", documentUri);
2222
}
2323

2424
let testWorkspacePath = path.join(__dirname, "..", "test_files/");

0 commit comments

Comments
 (0)