Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-term/tests/test/auto_pairs.rs')
-rw-r--r--helix-term/tests/test/auto_pairs.rs28
1 files changed, 0 insertions, 28 deletions
diff --git a/helix-term/tests/test/auto_pairs.rs b/helix-term/tests/test/auto_pairs.rs
index c921e2ae..ada488fc 100644
--- a/helix-term/tests/test/auto_pairs.rs
+++ b/helix-term/tests/test/auto_pairs.rs
@@ -19,7 +19,6 @@ async fn insert_basic() -> anyhow::Result<()> {
format!("#[{}|]#", LINE_END),
format!("i{}", pair.0),
format!("{}#[|{}]#{}", pair.0, pair.1, LINE_END),
- LineFeedHandling::AsIs,
))
.await?;
}
@@ -47,7 +46,6 @@ async fn insert_configured_multi_byte_chars() -> anyhow::Result<()> {
format!("#[{}|]#", LINE_END),
format!("i{}", open),
format!("{}#[|{}]#{}", open, close, LINE_END),
- LineFeedHandling::AsIs,
),
)
.await?;
@@ -58,7 +56,6 @@ async fn insert_configured_multi_byte_chars() -> anyhow::Result<()> {
format!("{}#[{}|]#{}", open, close, LINE_END),
format!("i{}", close),
format!("{}{}#[|{}]#", open, close, LINE_END),
- LineFeedHandling::AsIs,
),
)
.await?;
@@ -74,7 +71,6 @@ async fn insert_after_word() -> anyhow::Result<()> {
format!("foo#[{}|]#", LINE_END),
format!("i{}", pair.0),
format!("foo{}#[|{}]#{}", pair.0, pair.1, LINE_END),
- LineFeedHandling::AsIs,
))
.await?;
}
@@ -84,7 +80,6 @@ async fn insert_after_word() -> anyhow::Result<()> {
format!("foo#[{}|]#", LINE_END),
format!("i{}", pair.0),
format!("foo{}#[|{}]#", pair.0, LINE_END),
- LineFeedHandling::AsIs,
))
.await?;
}
@@ -99,7 +94,6 @@ async fn insert_before_word() -> anyhow::Result<()> {
format!("#[f|]#oo{}", LINE_END),
format!("i{}", pair.0),
format!("{}#[|f]#oo{}", pair.0, LINE_END),
- LineFeedHandling::AsIs,
))
.await?;
}
@@ -114,7 +108,6 @@ async fn insert_before_word_selection() -> anyhow::Result<()> {
format!("#[foo|]#{}", LINE_END),
format!("i{}", pair.0),
format!("{}#[|foo]#{}", pair.0, LINE_END),
- LineFeedHandling::AsIs,
))
.await?;
}
@@ -129,7 +122,6 @@ async fn insert_before_word_selection_trailing_word() -> anyhow::Result<()> {
format!("foo#[ wor|]#{}", LINE_END),
format!("i{}", pair.0),
format!("foo{}#[|{} wor]#{}", pair.0, pair.1, LINE_END),
- LineFeedHandling::AsIs,
))
.await?;
}
@@ -144,7 +136,6 @@ async fn insert_closer_selection_trailing_word() -> anyhow::Result<()> {
format!("foo{}#[|{} wor]#{}", pair.0, pair.1, LINE_END),
format!("i{}", pair.1),
format!("foo{}{}#[| wor]#{}", pair.0, pair.1, LINE_END),
- LineFeedHandling::AsIs,
))
.await?;
}
@@ -164,7 +155,6 @@ async fn insert_before_eol() -> anyhow::Result<()> {
open = pair.0,
close = pair.1
),
- LineFeedHandling::AsIs,
))
.await?;
}
@@ -187,7 +177,6 @@ async fn insert_auto_pairs_disabled() -> anyhow::Result<()> {
format!("#[{}|]#", LINE_END),
format!("i{}", pair.0),
format!("{}#[|{}]#", pair.0, LINE_END),
- LineFeedHandling::AsIs,
),
)
.await?;
@@ -208,7 +197,6 @@ async fn insert_multi_range() -> anyhow::Result<()> {
close = pair.1,
eol = LINE_END
),
- LineFeedHandling::AsIs,
))
.await?;
}
@@ -223,7 +211,6 @@ async fn insert_before_multi_code_point_graphemes() -> anyhow::Result<()> {
format!("hello #[๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ|]# goodbye{}", LINE_END),
format!("i{}", pair.1),
format!("hello {}#[|๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ]# goodbye{}", pair.1, LINE_END),
- LineFeedHandling::AsIs,
))
.await?;
}
@@ -239,7 +226,6 @@ async fn insert_at_end_of_document() -> anyhow::Result<()> {
in_keys: format!("i{}", pair.0),
out_text: format!("{}{}{}", LINE_END, pair.0, pair.1),
out_selection: Selection::single(LINE_END.len() + 1, LINE_END.len() + 2),
- line_feed_handling: LineFeedHandling::AsIs,
})
.await?;
@@ -249,7 +235,6 @@ async fn insert_at_end_of_document() -> anyhow::Result<()> {
in_keys: format!("i{}", pair.0),
out_text: format!("foo{}{}{}", LINE_END, pair.0, pair.1),
out_selection: Selection::single(LINE_END.len() + 4, LINE_END.len() + 5),
- line_feed_handling: LineFeedHandling::AsIs,
})
.await?;
}
@@ -274,7 +259,6 @@ async fn insert_close_inside_pair() -> anyhow::Result<()> {
close = pair.1,
eol = LINE_END
),
- LineFeedHandling::AsIs,
))
.await?;
}
@@ -299,7 +283,6 @@ async fn insert_close_inside_pair_multi() -> anyhow::Result<()> {
close = pair.1,
eol = LINE_END
),
- LineFeedHandling::AsIs,
))
.await?;
}
@@ -324,7 +307,6 @@ async fn insert_nested_open_inside_pair() -> anyhow::Result<()> {
close = pair.1,
eol = LINE_END
),
- LineFeedHandling::AsIs,
))
.await?;
}
@@ -356,7 +338,6 @@ async fn insert_nested_open_inside_pair_multi() -> anyhow::Result<()> {
inner_close = inner_pair.1,
eol = LINE_END
),
- LineFeedHandling::AsIs,
))
.await?;
}
@@ -377,7 +358,6 @@ async fn append_basic() -> anyhow::Result<()> {
close = pair.1,
eol = LINE_END
),
- LineFeedHandling::AsIs,
))
.await?;
}
@@ -397,7 +377,6 @@ async fn append_multi_range() -> anyhow::Result<()> {
close = pair.1,
eol = LINE_END
),
- LineFeedHandling::AsIs,
))
.await?;
}
@@ -422,7 +401,6 @@ async fn append_close_inside_pair() -> anyhow::Result<()> {
close = pair.1,
eol = LINE_END
),
- LineFeedHandling::AsIs,
))
.await?;
}
@@ -447,7 +425,6 @@ async fn append_close_inside_pair_multi() -> anyhow::Result<()> {
close = pair.1,
eol = LINE_END
),
- LineFeedHandling::AsIs,
))
.await?;
}
@@ -467,7 +444,6 @@ async fn append_end_of_word() -> anyhow::Result<()> {
close = pair.1,
eol = LINE_END
),
- LineFeedHandling::AsIs,
))
.await?;
}
@@ -482,7 +458,6 @@ async fn append_middle_of_word() -> anyhow::Result<()> {
format!("#[wo|]#rd{}", LINE_END),
format!("a{}", pair.1),
format!("#[wo{}r|]#d{}", pair.1, LINE_END),
- LineFeedHandling::AsIs,
))
.await?;
}
@@ -502,7 +477,6 @@ async fn append_end_of_word_multi() -> anyhow::Result<()> {
close = pair.1,
eol = LINE_END
),
- LineFeedHandling::AsIs,
))
.await?;
}
@@ -527,7 +501,6 @@ async fn append_inside_nested_pair() -> anyhow::Result<()> {
close = pair.1,
eol = LINE_END
),
- LineFeedHandling::AsIs,
))
.await?;
}
@@ -559,7 +532,6 @@ async fn append_inside_nested_pair_multi() -> anyhow::Result<()> {
inner_close = inner_pair.1,
eol = LINE_END
),
- LineFeedHandling::AsIs,
))
.await?;
}