diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2024-01-23 06:12:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-23 06:12:41 +0000 |
commit | ec97c7dd4b5c1be83639769990ca6d37345089ca (patch) | |
tree | 809e7e4c4571ad8e4fe4359277d0e0923af334cf /cli/tests/integration/lsp_tests.rs | |
parent | 2af0c0a3c6ea017bef2481c1a1ce0806457d5427 (diff) |
feat(lsp): include scope uri in "deno/didChangeDenoConfiguration" (#22002)
Diffstat (limited to 'cli/tests/integration/lsp_tests.rs')
-rw-r--r-- | cli/tests/integration/lsp_tests.rs | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/cli/tests/integration/lsp_tests.rs b/cli/tests/integration/lsp_tests.rs index ba44c670d..3ea6d2ab5 100644 --- a/cli/tests/integration/lsp_tests.rs +++ b/cli/tests/integration/lsp_tests.rs @@ -856,7 +856,8 @@ fn lsp_did_change_deno_configuration_notification() { res, Some(json!({ "changes": [{ - "uri": temp_dir.uri().join("deno.json").unwrap(), + "scopeUri": temp_dir.uri(), + "fileUri": temp_dir.uri().join("deno.json").unwrap(), "type": "added", "configurationType": "denoJson" }], @@ -879,7 +880,8 @@ fn lsp_did_change_deno_configuration_notification() { res, Some(json!({ "changes": [{ - "uri": temp_dir.uri().join("deno.json").unwrap(), + "scopeUri": temp_dir.uri(), + "fileUri": temp_dir.uri().join("deno.json").unwrap(), "type": "changed", "configurationType": "denoJson" }], @@ -899,7 +901,8 @@ fn lsp_did_change_deno_configuration_notification() { res, Some(json!({ "changes": [{ - "uri": temp_dir.uri().join("deno.json").unwrap(), + "scopeUri": temp_dir.uri(), + "fileUri": temp_dir.uri().join("deno.json").unwrap(), "type": "removed", "configurationType": "denoJson" }], @@ -919,7 +922,8 @@ fn lsp_did_change_deno_configuration_notification() { res, Some(json!({ "changes": [{ - "uri": temp_dir.uri().join("package.json").unwrap(), + "scopeUri": temp_dir.uri(), + "fileUri": temp_dir.uri().join("package.json").unwrap(), "type": "added", "configurationType": "packageJson" }], @@ -939,7 +943,8 @@ fn lsp_did_change_deno_configuration_notification() { res, Some(json!({ "changes": [{ - "uri": temp_dir.uri().join("package.json").unwrap(), + "scopeUri": temp_dir.uri(), + "fileUri": temp_dir.uri().join("package.json").unwrap(), "type": "changed", "configurationType": "packageJson" }], @@ -959,7 +964,8 @@ fn lsp_did_change_deno_configuration_notification() { res, Some(json!({ "changes": [{ - "uri": temp_dir.uri().join("package.json").unwrap(), + "scopeUri": temp_dir.uri(), + "fileUri": temp_dir.uri().join("package.json").unwrap(), "type": "removed", "configurationType": "packageJson" }], |