Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Update the test code to newer realities (#15084)
Kirill Bulatovc43eafbf9ae0
diff --git a/crates/assistant/src/inline_assistant.rs b/crates/assistant/src/inline_assistant.rsindex c3a31fb94a6..55c89f40285 100644--- a/crates/assistant/src/inline_assistant.rs+++ b/crates/assistant/src/inline_assistant.rs@@ -2789,8 +2789,9 @@ mod tests {#[gpui::test(iterations = 10)]async fn test_autoindent_respects_tabs_in_selection(cx: &mut TestAppContext) {+ cx.update(LanguageModelRegistry::test);+ cx.update(completion::LanguageModelCompletionProvider::test);cx.set_global(cx.update(SettingsStore::test));- cx.update(|cx| FakeCompletionProvider::setup_test(cx));cx.update(language_settings::init);let text = indoc! {"