Skip to content

Commit

Permalink
bump LS to 0.26.0 (#1002)
Browse files Browse the repository at this point in the history
* bump LS to 0.26.0

* test: ensure URIs are normalized before comparing
  • Loading branch information
radeksimko committed Mar 21, 2022
1 parent 477c8cc commit b18f2ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"vscode": "^1.61.0"
},
"langServer": {
"version": "0.25.2"
"version": "0.26.0"
},
"qna": "https://discuss.hashicorp.com/c/terraform-core/terraform-editor-integrations/46",
"bugs": {
Expand Down
7 changes: 6 additions & 1 deletion src/test/integration/workspaces.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ suite('moduleCallers', () => {
assert.ok(response);

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

Expand Down

0 comments on commit b18f2ea

Please sign in to comment.