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.

helix: Uncomment one test (#36328)

fantacell1af47a563fd1
diff --git a/crates/vim/src/helix.rs b/crates/vim/src/helix.rs
index 0c8c06d8ab6..3cc9772d42c 100644
--- a/crates/vim/src/helix.rs
+++ b/crates/vim/src/helix.rs
@@ -547,27 +547,27 @@ mod test {
);
}
- // #[gpui::test]
- // async fn test_delete_character_end_of_line(cx: &mut gpui::TestAppContext) {
- // let mut cx = VimTestContext::new(cx, true).await;
+ #[gpui::test]
+ async fn test_delete_character_end_of_line(cx: &mut gpui::TestAppContext) {
+ let mut cx = VimTestContext::new(cx, true).await;
- // cx.set_state(
- // indoc! {"
- // The quick brownˇ
- // fox jumps over
- // the lazy dog."},
- // Mode::HelixNormal,
- // );
+ cx.set_state(
+ indoc! {"
+ The quick brownˇ
+ fox jumps over
+ the lazy dog."},
+ Mode::HelixNormal,
+ );
- // cx.simulate_keystrokes("d");
+ cx.simulate_keystrokes("d");
- // cx.assert_state(
- // indoc! {"
- // The quick brownˇfox jumps over
- // the lazy dog."},
- // Mode::HelixNormal,
- // );
- // }
+ cx.assert_state(
+ indoc! {"
+ The quick brownˇfox jumps over
+ the lazy dog."},
+ Mode::HelixNormal,
+ );
+ }
// #[gpui::test]
// async fn test_delete_character_end_of_buffer(cx: &mut gpui::TestAppContext) {