summaryrefslogtreecommitdiff
path: root/tests/util/server/src/lsp.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-02-20 13:39:03 -0500
committerGitHub <noreply@github.com>2024-02-20 13:39:03 -0500
commitdbc4a4d6327062918b3bc41dc3f60c84ae3c620b (patch)
tree054b8e160a8ebf6a57b6772273414c98ac0fe2fc /tests/util/server/src/lsp.rs
parent4201f17936e6c67eaf2d7b0d76690f674d68d13e (diff)
chore: fix flaky lsp_vendor_dir (#22483)
I think it was occassionally reading the diagnostics from the previous cache command rather than the config update. Closes #22481
Diffstat (limited to 'tests/util/server/src/lsp.rs')
-rw-r--r--tests/util/server/src/lsp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/util/server/src/lsp.rs b/tests/util/server/src/lsp.rs
index 6b8256fc1..cc6808390 100644
--- a/tests/util/server/src/lsp.rs
+++ b/tests/util/server/src/lsp.rs
@@ -799,7 +799,7 @@ impl LspClient {
result.as_u64().unwrap() as usize
}
- /// Reads the latest diagnostics. It's assumed that
+ /// Reads the latest diagnostics.
pub fn read_diagnostics(&mut self) -> CollectedDiagnostics {
// wait for three (deno, lint, and typescript diagnostics) batch
// notification messages for that index