Fix broken test due to trimmed trailing whitespace during formatting

This commit is contained in:
Nathan Sobo 2023-04-06 16:10:39 -06:00
parent 8136d8a8a6
commit 95eb918b4c

View file

@ -646,11 +646,12 @@ mod test {
); );
cx.simulate_keystroke("p"); cx.simulate_keystroke("p");
cx.assert_state( cx.assert_state(
indoc! {" &indoc! {"
The quick brown The quick brown
the the_
ˇfox jumps over ˇfox jumps over
dog"}, dog"}
.replace("_", " "), // Hack for trailing whitespace
Mode::Normal, Mode::Normal,
); );
} }