Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix the test
Kirill Bulatov81c64647e827
diff --git a/crates/editor/src/link_go_to_definition.rs b/crates/editor/src/link_go_to_definition.rsindex 2ada17de06e..280993dd264 100644--- a/crates/editor/src/link_go_to_definition.rs+++ b/crates/editor/src/link_go_to_definition.rs@@ -975,6 +975,7 @@ mod tests {// the cached location insteadOk(Some(lsp::GotoDefinitionResponse::Link(vec![])))});+ cx.foreground().run_until_parked();cx.assert_editor_state(indoc! {"fn «testˇ»() { do_work(); }fn do_work() { test(); }