Fix vim tests using old key bindings
This commit is contained in:
parent
6a718dc4da
commit
f0814c7784
4 changed files with 25 additions and 25 deletions
|
@ -422,7 +422,7 @@ mod test {
|
|||
#[gpui::test]
|
||||
async fn test_visual_line_delete(cx: &mut gpui::TestAppContext) {
|
||||
let cx = VimTestContext::new(cx, true).await;
|
||||
let mut cx = cx.binding(["shift-V", "x"]);
|
||||
let mut cx = cx.binding(["shift-v", "x"]);
|
||||
cx.assert(
|
||||
indoc! {"
|
||||
The qu|ick brown
|
||||
|
@ -457,7 +457,7 @@ mod test {
|
|||
The quick brown
|
||||
fox ju|mps over"},
|
||||
);
|
||||
let mut cx = cx.binding(["shift-V", "j", "x"]);
|
||||
let mut cx = cx.binding(["shift-v", "j", "x"]);
|
||||
cx.assert(
|
||||
indoc! {"
|
||||
The qu|ick brown
|
||||
|
@ -558,7 +558,7 @@ mod test {
|
|||
#[gpui::test]
|
||||
async fn test_visual_line_change(cx: &mut gpui::TestAppContext) {
|
||||
let cx = VimTestContext::new(cx, true).await;
|
||||
let mut cx = cx.binding(["shift-V", "c"]).mode_after(Mode::Insert);
|
||||
let mut cx = cx.binding(["shift-v", "c"]).mode_after(Mode::Insert);
|
||||
cx.assert(
|
||||
indoc! {"
|
||||
The qu|ick brown
|
||||
|
@ -597,7 +597,7 @@ mod test {
|
|||
fox jumps over
|
||||
|"},
|
||||
);
|
||||
let mut cx = cx.binding(["shift-V", "j", "c"]).mode_after(Mode::Insert);
|
||||
let mut cx = cx.binding(["shift-v", "j", "c"]).mode_after(Mode::Insert);
|
||||
cx.assert(
|
||||
indoc! {"
|
||||
The qu|ick brown
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue