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 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/helix-term/tests/test/commands.rs b/helix-term/tests/test/commands.rs index 3e2d4b52..c42d7b06 100644 --- a/helix-term/tests/test/commands.rs +++ b/helix-term/tests/test/commands.rs @@ -7,6 +7,26 @@ mod movement; mod write; #[tokio::test(flavor = "multi_thread")] +async fn after_the_final_char() -> anyhow::Result<()> { + // <https://github.com/helix-editor/helix/issues/12609> + test(( + indoc! {"\ + #[o|]#ne + two + three"}, + "gej*h", + indoc! {"\ + one + two + three#[ + |]#"}, + )) + .await?; + + Ok(()) +} + +#[tokio::test(flavor = "multi_thread")] async fn test_selection_duplication() -> anyhow::Result<()> { // Forward test(( |