diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2024-04-22 19:24:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-22 19:24:00 +0100 |
commit | 5990f053603eac053862f76a5d23acd2abd3d4bc (patch) | |
tree | 0d6ebe8e4c64b2ebf08215c4eeaeefc87f0e9a7a /tests/integration/lsp_tests.rs | |
parent | 9686a8803e311d532c37fe919e0684feca91a04f (diff) |
fix(lsp): remove Document::open_data on close (#23483)
Diffstat (limited to 'tests/integration/lsp_tests.rs')
-rw-r--r-- | tests/integration/lsp_tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/lsp_tests.rs b/tests/integration/lsp_tests.rs index 3554f303a..da8d94925 100644 --- a/tests/integration/lsp_tests.rs +++ b/tests/integration/lsp_tests.rs @@ -8811,7 +8811,7 @@ fn lsp_diagnostics_refresh_dependents() { }), ); let diagnostics = client.read_diagnostics(); - assert_eq!(diagnostics.all().len(), 0); // no diagnostics now + assert_eq!(json!(diagnostics.all()), json!([])); // no diagnostics now client.shutdown(); assert_eq!(client.queue_len(), 0); |