summaryrefslogtreecommitdiff
path: root/tests/integration/npm_tests.rs
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2024-08-24 01:21:21 +0100
committerGitHub <noreply@github.com>2024-08-24 01:21:21 +0100
commit2ab4afc6b8e90f1315e0727c9b9c714c3667dc45 (patch)
tree05f07ba22d5d4a5f5120ab988320ad88ea20d542 /tests/integration/npm_tests.rs
parentbbd3a7e637b0223647405adf76b23092ab957157 (diff)
refactor(lsp): changes for lsp_types 0.97.0 (#25169)
Diffstat (limited to 'tests/integration/npm_tests.rs')
-rw-r--r--tests/integration/npm_tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/npm_tests.rs b/tests/integration/npm_tests.rs
index 86db962f4..9e4eb7efe 100644
--- a/tests/integration/npm_tests.rs
+++ b/tests/integration/npm_tests.rs
@@ -2090,7 +2090,7 @@ fn top_level_install_package_json_explicit_opt_in() {
rm_created_files();
let mut client = test_context.new_lsp_command().build();
client.initialize_default();
- let file_uri = temp_dir.uri().join("file.ts").unwrap();
+ let file_uri = temp_dir.url().join("file.ts").unwrap();
client.did_open(json!({
"textDocument": {
"uri": file_uri,