Fix failing gpui test from missing cursor shape

This commit is contained in:
Keith Simmons 2022-03-10 13:20:45 -08:00
parent eddb089f27
commit 5b35c68d2e

View file

@ -1467,7 +1467,7 @@ mod tests {
let (window_id, editor) = cx.add_window(Default::default(), |cx| {
Editor::new(EditorMode::Full, buffer, None, settings.1, None, cx)
});
let element = EditorElement::new(editor.downgrade(), editor.read(cx).style(cx));
let element = EditorElement::new(editor.downgrade(), editor.read(cx).style(cx), CursorShape::Bar);
let layouts = editor.update(cx, |editor, cx| {
let snapshot = editor.snapshot(cx);