Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-term/tests/test/commands.rs')
| -rw-r--r-- | helix-term/tests/test/commands.rs | 32 |
1 files changed, 4 insertions, 28 deletions
diff --git a/helix-term/tests/test/commands.rs b/helix-term/tests/test/commands.rs index 90ff4cf0..2af1a054 100644 --- a/helix-term/tests/test/commands.rs +++ b/helix-term/tests/test/commands.rs @@ -4,8 +4,6 @@ use super::*; mod insert; mod movement; -mod reverse_selection_contents; -mod rotate_selection_contents; mod write; #[tokio::test(flavor = "multi_thread")] @@ -736,7 +734,7 @@ async fn surround_replace_ts() -> anyhow::Result<()> { const INPUT: &str = r#"\ fn foo() { if let Some(_) = None { - testing!("f#[|o]#o)"); + todo!("f#[|o]#o)"); } } "#; @@ -746,7 +744,7 @@ fn foo() { r#"\ fn foo() { if let Some(_) = None { - testing!('f#[|o]#o)'); + todo!('f#[|o]#o)'); } } "#, @@ -759,7 +757,7 @@ fn foo() { r#"\ fn foo() { if let Some(_) = None [ - testing!("f#[|o]#o)"); + todo!("f#[|o]#o)"); ] } "#, @@ -772,7 +770,7 @@ fn foo() { r#"\ fn foo() { if let Some(_) = None { - testing!{"f#[|o]#o)"}; + todo!{"f#[|o]#o)"}; } } "#, @@ -822,25 +820,3 @@ async fn macro_play_within_macro_record() -> anyhow::Result<()> { Ok(()) } - -#[tokio::test(flavor = "multi_thread")] -async fn global_search_with_multibyte_chars() -> anyhow::Result<()> { - // Assert that `helix_term::commands::global_search` handles multibyte characters correctly. - test(( - indoc! {"\ - // Hello world! - // #[| - ]# - "}, - // start global search - " /«十分に長い マルチバイトキャラクター列» で検索<ret><esc>", - indoc! {"\ - // Hello world! - // #[| - ]# - "}, - )) - .await?; - - Ok(()) -} |