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.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/helix-term/tests/test/commands.rs b/helix-term/tests/test/commands.rs
index 1c5c6196..7f41a221 100644
--- a/helix-term/tests/test/commands.rs
+++ b/helix-term/tests/test/commands.rs
@@ -722,5 +722,19 @@ fn foo() {
))
.await?;
+ test((
+ indoc! {"\
+ #[a
+ b
+ c
+ d
+ e|]#
+ f
+ "},
+ "s\\n<ret>r,",
+ "a#[,|]#b#(,|)#c#(,|)#d#(,|)#e\nf\n",
+ ))
+ .await?;
+
Ok(())
}