From 5990f053603eac053862f76a5d23acd2abd3d4bc Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Mon, 22 Apr 2024 19:24:00 +0100 Subject: fix(lsp): remove Document::open_data on close (#23483) --- tests/integration/lsp_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/integration') 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); -- cgit v1.2.3