Fix issue with Vim test instead of cheating (#24411)

Appears this test was failing, and someone edited the expected test
output instead of fixing it. Well no longer!

Release Notes:

- N/A

Co-authored-by: Conrad <conrad@zed.dev>
This commit is contained in:
Ben Kunkle 2025-02-06 18:43:30 -06:00 committed by GitHub
parent a190f42ccc
commit a1ed1a00b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 4 deletions

View file

@ -1517,7 +1517,8 @@ mod test {
dd dd
dd dd
ˇcc"}); ˇcc"});
cx.simulate_shared_keystrokes("k : s / dd / ee enter").await; cx.simulate_shared_keystrokes("k : s / d d / e e enter")
.await;
cx.shared_state().await.assert_eq(indoc! {" cx.shared_state().await.assert_eq(indoc! {"
aa aa
dd dd

View file

@ -24,8 +24,10 @@
{"Key":":"} {"Key":":"}
{"Key":"s"} {"Key":"s"}
{"Key":"/"} {"Key":"/"}
{"Key":"dd"} {"Key":"d"}
{"Key":"d"}
{"Key":"/"} {"Key":"/"}
{"Key":"ee"} {"Key":"e"}
{"Key":"e"}
{"Key":"enter"} {"Key":"enter"}
{"Get":{"state":"aa\ndd\nˇee\ncc", "mode":"Normal"}} {"Get":{"state":"aa\ndd\nˇee\ncc","mode":"Normal"}}