Fix tests
This commit is contained in:
parent
8d662edb6c
commit
f40c498491
6 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue