Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix issue with Vim test instead of cheating (#24411)
Ben Kunklea1ed1a00b39d
diff --git a/crates/vim/src/command.rs b/crates/vim/src/command.rsindex bc1b4ba2017..f73734d0e2f 100644--- a/crates/vim/src/command.rs+++ b/crates/vim/src/command.rs@@ -1517,7 +1517,8 @@ mod test {ddddˇ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! {"aadddiff --git a/crates/vim/test_data/test_command_replace.json b/crates/vim/test_data/test_command_replace.jsonindex 698ef2a3bff..d14a8a78ce6 100644--- a/crates/vim/test_data/test_command_replace.json+++ b/crates/vim/test_data/test_command_replace.json@@ -24,8 +24,10 @@{"Key":":"}{"Key":"s"}{"Key":"/"}-{"Key":"dd"}+{"Key":"d"}+{"Key":"d"}{"Key":"/"}-{"Key":"ee"}+{"Key":"e"}+{"Key":"e"}{"Key":"enter"}-{"Get":{"state":"aa\ndd\nˇee\ncc", "mode":"Normal"}}\ No newline at end of file+{"Get":{"state":"aa\ndd\nˇee\ncc","mode":"Normal"}}