1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-22 06:09:25 -05:00

chore(test): improve flaky lsp_diagnostics_refresh_dependents test to give more info (#11905)

This commit is contained in:
David Sherret 2021-09-02 20:31:59 -04:00 committed by GitHub
parent 987716798f
commit c3001fe280
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2935,7 +2935,7 @@ fn lsp_diagnostics_refresh_dependents() {
if queue_len - i <= 3 {
assert!(maybe_params.is_some());
let params = maybe_params.unwrap();
assert!(params.diagnostics.is_empty());
assert_eq!(params.diagnostics, Vec::with_capacity(0));
}
}
assert!(client.queue_is_empty());