Fix vim test keystroke (#28406)
I wrote the test wrongly in https://github.com/zed-industries/zed/pull/28005: It should be `$` instead of `shift-4`, so it was just yanking from the middle of the line instead of the newline character. Fixed it and regenerated it. Release Notes: - N/A
This commit is contained in:
parent
9ae4f4b158
commit
ee6c33ffb3
2 changed files with 2 additions and 3 deletions
|
@ -1155,8 +1155,7 @@ mod test {
|
|||
fox ˇjumps over
|
||||
the lazy dog"})
|
||||
.await;
|
||||
cx.simulate_shared_keystrokes("shift-v shift-4 shift-y")
|
||||
.await;
|
||||
cx.simulate_shared_keystrokes("shift-v $ shift-y").await;
|
||||
cx.shared_state().await.assert_eq(indoc! {"
|
||||
The quick brown
|
||||
ˇfox jumps over
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
{"ReadRegister":{"name":"\"","value":"fox jumps over\nthe lazy dog\n"}}
|
||||
{"Put":{"state":"The quick brown\nfox ˇjumps over\nthe lazy dog"}}
|
||||
{"Key":"shift-v"}
|
||||
{"Key":"shift-4"}
|
||||
{"Key":"$"}
|
||||
{"Key":"shift-y"}
|
||||
{"Get":{"state":"The quick brown\nˇfox jumps over\nthe lazy dog","mode":"Normal"}}
|
||||
{"ReadRegister":{"name":"\"","value":"fox jumps over\n"}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue