Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix tests
Juliaf40c49849105
diff --git a/crates/diagnostics/src/diagnostics.rs b/crates/diagnostics/src/diagnostics.rsindex b163a25d95b..12fcc1395bf 100644--- a/crates/diagnostics/src/diagnostics.rs+++ b/crates/diagnostics/src/diagnostics.rs@@ -1499,6 +1499,7 @@ mod tests {language::init(cx);client::init_settings(cx);workspace::init_settings(cx);+ Project::init_settings(cx);});}diff --git a/crates/file_finder/src/file_finder.rs b/crates/file_finder/src/file_finder.rsindex 6d2ba115b7f..c4fce491523 100644--- a/crates/file_finder/src/file_finder.rs+++ b/crates/file_finder/src/file_finder.rs@@ -1198,6 +1198,7 @@ mod tests {super::init(cx);editor::init(cx);workspace::init_settings(cx);+ Project::init_settings(cx);state})}diff --git a/crates/project/src/project_tests.rs b/crates/project/src/project_tests.rsindex e48ce6258b3..285e3ee9b67 100644--- a/crates/project/src/project_tests.rs+++ b/crates/project/src/project_tests.rs@@ -1273,6 +1273,7 @@ async fn test_transforming_diagnostics(cx: &mut gpui::TestAppContext) {// The diagnostics have moved down since they were created.buffer.next_notification(cx).await;+ buffer.next_notification(cx).await;buffer.read_with(cx, |buffer, _| {assert_eq!(bufferdiff --git a/crates/project_panel/src/project_panel.rs b/crates/project_panel/src/project_panel.rsindex 6604472d863..8584d3f6b98 100644--- a/crates/project_panel/src/project_panel.rs+++ b/crates/project_panel/src/project_panel.rs@@ -2229,6 +2229,7 @@ mod tests {editor::init_settings(cx);crate::init(cx);workspace::init_settings(cx);+ Project::init_settings(cx);});}diff --git a/crates/search/src/project_search.rs b/crates/search/src/project_search.rsindex d86823d2249..7d95ec232d8 100644--- a/crates/search/src/project_search.rs+++ b/crates/search/src/project_search.rs@@ -1268,6 +1268,7 @@ pub mod tests {client::init_settings(cx);editor::init_settings(cx);workspace::init_settings(cx);+ Project::init_settings(cx);});}}diff --git a/crates/zed/src/zed.rs b/crates/zed/src/zed.rsindex 1dfe9c24e54..619dd81a804 100644--- a/crates/zed/src/zed.rs+++ b/crates/zed/src/zed.rs@@ -2085,6 +2085,7 @@ mod tests {theme::init((), cx);call::init(app_state.client.clone(), app_state.user_store.clone(), cx);workspace::init(app_state.clone(), cx);+ Project::init_settings(cx);language::init(cx);editor::init(cx);project_panel::init_settings(cx);