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.rs29
1 files changed, 10 insertions, 19 deletions
diff --git a/helix-term/tests/test/commands.rs b/helix-term/tests/test/commands.rs
index 7f41a221..9f196827 100644
--- a/helix-term/tests/test/commands.rs
+++ b/helix-term/tests/test/commands.rs
@@ -209,13 +209,10 @@ async fn test_multi_selection_shell_commands() -> anyhow::Result<()> {
"},
"|echo foo<ret>",
indoc! {"\
- #[|foo\n]#
-
- #(|foo\n)#
-
- #(|foo\n)#
-
- "},
+ #[|foo]#
+ #(|foo)#
+ #(|foo)#"
+ },
))
.await?;
@@ -228,12 +225,9 @@ async fn test_multi_selection_shell_commands() -> anyhow::Result<()> {
"},
"!echo foo<ret>",
indoc! {"\
- #[|foo\n]#
- lorem
- #(|foo\n)#
- ipsum
- #(|foo\n)#
- dolor
+ #[|foo]#lorem
+ #(|foo)#ipsum
+ #(|foo)#dolor
"},
))
.await?;
@@ -247,12 +241,9 @@ async fn test_multi_selection_shell_commands() -> anyhow::Result<()> {
"},
"<A-!>echo foo<ret>",
indoc! {"\
- lorem#[|foo\n]#
-
- ipsum#(|foo\n)#
-
- dolor#(|foo\n)#
-
+ lorem#[|foo]#
+ ipsum#(|foo)#
+ dolor#(|foo)#
"},
))
.await?;