Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Remove unnecessary replace

Nathan Sobo1b2e480e1e09
diff --git a/crates/vim/src/normal.rs b/crates/vim/src/normal.rs
index edfec3d312b..83a18a1ac9f 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;
}
}