Skip to content

Commit b18f2ea

Browse files
authored
bump LS to 0.26.0 (#1002)
* bump LS to 0.26.0 * test: ensure URIs are normalized before comparing
1 parent 477c8cc commit b18f2ea

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"vscode": "^1.61.0"
2020
},
2121
"langServer": {
22-
"version": "0.25.2"
22+
"version": "0.26.0"
2323
},
2424
"qna": "https://discuss.hashicorp.com/c/terraform-core/terraform-editor-integrations/46",
2525
"bugs": {

src/test/integration/workspaces.test.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,12 @@ suite('moduleCallers', () => {
1818
assert.ok(response);
1919

2020
assert.strictEqual(response.moduleCallers.length, 1);
21-
assert.strictEqual(response.moduleCallers[0].uri, vscode.Uri.file(testFolderPath).toString(true));
21+
assert.strictEqual(
22+
// ensure both URIs are normalized, which is what VSCode would do anyway
23+
// see https://github.com/microsoft/vscode/issues/42159#issuecomment-360533151
24+
vscode.Uri.parse(response.moduleCallers[0].uri).toString(true),
25+
vscode.Uri.file(testFolderPath).toString(true),
26+
);
2227
});
2328
});
2429

0 commit comments

Comments
 (0)