Uncomment hover popover tests

This commit is contained in:
Antonio Scandurra 2023-11-27 19:14:58 +01:00
parent 1e6214440d
commit 8c53f1b9c2

View file

@ -868,8 +868,9 @@ mod tests {
fn test_render_blocks(cx: &mut gpui::TestAppContext) {
init_test(cx, |_| {});
cx.add_window(|cx| {
let editor = Editor::single_line(cx);
let editor = cx.add_window(|cx| Editor::single_line(cx));
editor
.update(cx, |editor, cx| {
let style = editor.style.clone().unwrap();
struct Row {
@ -1005,9 +1006,8 @@ mod tests {
"wrong highlights for input {blocks:?}"
);
}
editor
});
})
.unwrap();
}
#[gpui::test]