Fix tests

This commit is contained in:
Julia
2023-05-25 14:29:28 -04:00
parent 8d662edb6c
commit f40c498491
6 changed files with 6 additions and 0 deletions
+1
View File
@@ -1499,6 +1499,7 @@ mod tests {
language::init(cx);
client::init_settings(cx);
workspace::init_settings(cx);
Project::init_settings(cx);
});
}
+1
View File
@@ -1198,6 +1198,7 @@ mod tests {
super::init(cx);
editor::init(cx);
workspace::init_settings(cx);
Project::init_settings(cx);
state
})
}
+1
View File
@@ -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!(
buffer
@@ -2229,6 +2229,7 @@ mod tests {
editor::init_settings(cx);
crate::init(cx);
workspace::init_settings(cx);
Project::init_settings(cx);
});
}
+1
View File
@@ -1268,6 +1268,7 @@ pub mod tests {
client::init_settings(cx);
editor::init_settings(cx);
workspace::init_settings(cx);
Project::init_settings(cx);
});
}
}
+1
View File
@@ -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);