Fix tests

This commit is contained in:
Julia 2023-05-25 10:31:19 -04:00
parent 8d662edb6c
commit f40c498491
6 changed files with 6 additions and 0 deletions

View file

@ -1499,6 +1499,7 @@ mod tests {
language::init(cx); language::init(cx);
client::init_settings(cx); client::init_settings(cx);
workspace::init_settings(cx); workspace::init_settings(cx);
Project::init_settings(cx);
}); });
} }

View file

@ -1198,6 +1198,7 @@ mod tests {
super::init(cx); super::init(cx);
editor::init(cx); editor::init(cx);
workspace::init_settings(cx); workspace::init_settings(cx);
Project::init_settings(cx);
state state
}) })
} }

View file

@ -1273,6 +1273,7 @@ async fn test_transforming_diagnostics(cx: &mut gpui::TestAppContext) {
// The diagnostics have moved down since they were created. // The diagnostics have moved down since they were created.
buffer.next_notification(cx).await; buffer.next_notification(cx).await;
buffer.next_notification(cx).await;
buffer.read_with(cx, |buffer, _| { buffer.read_with(cx, |buffer, _| {
assert_eq!( assert_eq!(
buffer buffer

View file

@ -2229,6 +2229,7 @@ mod tests {
editor::init_settings(cx); editor::init_settings(cx);
crate::init(cx); crate::init(cx);
workspace::init_settings(cx); workspace::init_settings(cx);
Project::init_settings(cx);
}); });
} }

View file

@ -1268,6 +1268,7 @@ pub mod tests {
client::init_settings(cx); client::init_settings(cx);
editor::init_settings(cx); editor::init_settings(cx);
workspace::init_settings(cx); workspace::init_settings(cx);
Project::init_settings(cx);
}); });
} }
} }

View file

@ -2085,6 +2085,7 @@ mod tests {
theme::init((), cx); theme::init((), cx);
call::init(app_state.client.clone(), app_state.user_store.clone(), cx); call::init(app_state.client.clone(), app_state.user_store.clone(), cx);
workspace::init(app_state.clone(), cx); workspace::init(app_state.clone(), cx);
Project::init_settings(cx);
language::init(cx); language::init(cx);
editor::init(cx); editor::init(cx);
project_panel::init_settings(cx); project_panel::init_settings(cx);