diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2021-09-02 20:31:59 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-02 20:31:59 -0400 |
commit | c3001fe280add8c695c288fe26b8f81b5f2f0261 (patch) | |
tree | c3b6f689c767ee7f06fd37cbe217b6cb1329ae93 | |
parent | 987716798fb3bddc9abc7e12c25a043447be5280 (diff) |
chore(test): improve flaky lsp_diagnostics_refresh_dependents test to give more info (#11905)
-rw-r--r-- | cli/tests/integration/lsp_tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/integration/lsp_tests.rs b/cli/tests/integration/lsp_tests.rs index 80aa64f54..762d8bb94 100644 --- a/cli/tests/integration/lsp_tests.rs +++ b/cli/tests/integration/lsp_tests.rs @@ -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()); |