Fix broken test due to trimmed trailing whitespace during formatting

Nathan Sobo created

Change summary

crates/vim/src/visual.rs | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)

Detailed changes

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,
         );
     }