mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-10 05:37:29 +03:00
Try fixing test on CI
This commit is contained in:
parent
e77abbf64f
commit
d46d3e6d15
@ -2244,11 +2244,10 @@ mod tests {
|
||||
workspace.add_panel(panel.clone(), cx);
|
||||
workspace.toggle_dock(DockPosition::Right, cx);
|
||||
assert!(workspace.right_dock().read(cx).is_open());
|
||||
cx.focus(&panel);
|
||||
});
|
||||
|
||||
panel.update(cx, |_, cx| cx.focus_self());
|
||||
cx.dispatch_action(window_id, workspace::ToggleZoom);
|
||||
|
||||
workspace.read_with(cx, |workspace, cx| {
|
||||
assert_eq!(workspace.zoomed_view(cx).unwrap(), panel);
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user