summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-11-25 02:10:12 +0100
committerGitHub <noreply@github.com>2021-11-25 12:10:12 +1100
commite68a241946f8fd6602b9d1a99c4b8fa7ead159ef (patch)
tree1454c5bbaecb639f6fec0808dfce971792abc0b4 /cli/tests
parentc6f3493f18f6b8e3c9b1a88523bb900d16b1fc2d (diff)
chore: upgrade lspower to 1.4.0 (#12894)
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/integration/lsp_tests.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/integration/lsp_tests.rs b/cli/tests/integration/lsp_tests.rs
index 796130083..718f73311 100644
--- a/cli/tests/integration/lsp_tests.rs
+++ b/cli/tests/integration/lsp_tests.rs
@@ -179,7 +179,7 @@ fn lsp_tsconfig_bad_config_path() {
let (method, maybe_params) = client.read_notification().unwrap();
assert_eq!(method, "window/showMessage");
assert_eq!(maybe_params, Some(lsp::ShowMessageParams {
- typ: lsp::MessageType::Warning,
+ typ: lsp::MessageType::WARNING,
message: "The path to the configuration file (\"bad_tsconfig.json\") is not resolvable.".to_string()
}));
let diagnostics = did_open(
@@ -3118,7 +3118,7 @@ fn lsp_diagnostics_warn() {
character: 60
}
},
- severity: Some(lsp::DiagnosticSeverity::Warning),
+ severity: Some(lsp::DiagnosticSeverity::WARNING),
code: Some(lsp::NumberOrString::String("deno-warn".to_string())),
source: Some("deno".to_string()),
message: "foobar".to_string(),