diff --git a/crates/vim/src/visual.rs b/crates/vim/src/visual.rs index 80ddae69be9fd186e1ec4b0ae6cbd1b2aafde2f3..cd4f956df1049b205a7911f7e7fd886f24ba9eb1 100644 --- a/crates/vim/src/visual.rs +++ b/crates/vim/src/visual.rs @@ -646,11 +646,12 @@ mod test { ); cx.simulate_keystroke("p"); cx.assert_state( - indoc! {" + &indoc! {" The quick brown - the + the_ ˇfox jumps over - dog"}, + dog"} + .replace("_", " "), // Hack for trailing whitespace Mode::Normal, ); }