From 1b2e480e1e0999047056e083e55c209c522473d1 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Thu, 20 Apr 2023 15:26:48 -0600 Subject: [PATCH] Remove unnecessary replace --- crates/vim/src/normal.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/crates/vim/src/normal.rs b/crates/vim/src/normal.rs index edfec3d312..83a18a1ac9 100644 --- a/crates/vim/src/normal.rs +++ b/crates/vim/src/normal.rs @@ -1020,14 +1020,13 @@ mod test { ˇ••• ˇb " - } - .replace("•", " "); + }; for count in 1..=3 { - cx.assert_binding_matches_all([&count.to_string(), "shift-f", "b"], &test_case) + cx.assert_binding_matches_all([&count.to_string(), "shift-f", "b"], test_case) .await; - cx.assert_binding_matches_all([&count.to_string(), "shift-t", "b"], &test_case) + cx.assert_binding_matches_all([&count.to_string(), "shift-t", "b"], test_case) .await; } }