Replace pane::Split action with Split{Left,Up,Right,Down}

This allows us to show them in the command palette.
This commit is contained in:
Antonio Scandurra 2022-06-15 13:06:59 +02:00
parent fa942e6b3d
commit da1eb91935
3 changed files with 14 additions and 24 deletions

View file

@ -948,7 +948,7 @@ mod tests {
(editor.downgrade(), buffer)
});
cx.dispatch_action(window_id, pane::Split(SplitDirection::Right));
cx.dispatch_action(window_id, pane::SplitRight);
let editor_2 = cx.update(|cx| {
let pane_2 = workspace.read(cx).active_pane().clone();
assert_ne!(pane_1, pane_2);