Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Don't drop fake LSP adapter's receiver before simulate ends

Antonio Scandurra946c92667f32
diff --git a/crates/collab/src/integration_tests.rs b/crates/collab/src/integration_tests.rs
index 6afcf85498d..16fea863e2d 100644
--- a/crates/collab/src/integration_tests.rs
+++ b/crates/collab/src/integration_tests.rs
@@ -6892,7 +6892,7 @@ impl TestClient {
},
None,
);
- language
+ let _fake_language_servers = language
.set_fake_lsp_adapter(Arc::new(FakeLspAdapter {
name: "the-fake-language-server",
capabilities: lsp::LanguageServer::full_capabilities(),