Skip to content

Commit d6772a6

Browse files
committed
fix as-is tests
1 parent 40e42d9 commit d6772a6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

helix-term/tests/test/auto_pairs.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,7 @@ async fn delete_basic() -> anyhow::Result<()> {
684684
format!("{}#[|{}]#{}", pair.0, pair.1, LINE_END),
685685
"i<backspace>",
686686
format!("#[|{}]#", LINE_END),
687+
LineFeedHandling::AsIs,
687688
))
688689
.await?;
689690
}
@@ -857,6 +858,7 @@ async fn delete_configured_multi_byte_chars() -> anyhow::Result<()> {
857858
format!("{}#[|{}]#{}", open, close, LINE_END),
858859
"i<backspace>",
859860
format!("#[|{}]#", LINE_END),
861+
LineFeedHandling::AsIs,
860862
),
861863
)
862864
.await?;
@@ -1053,6 +1055,7 @@ async fn delete_before_eol() -> anyhow::Result<()> {
10531055
),
10541056
"i<backspace>",
10551057
format!("{0}#[|{0}]#", LINE_END),
1058+
LineFeedHandling::AsIs,
10561059
))
10571060
.await?;
10581061
}
@@ -1221,6 +1224,7 @@ async fn delete_append_basic() -> anyhow::Result<()> {
12211224
),
12221225
"a<backspace>",
12231226
format!("#[{eol}{eol}|]#", eol = LINE_END),
1227+
LineFeedHandling::AsIs,
12241228
))
12251229
.await?;
12261230
}
@@ -1240,6 +1244,7 @@ async fn delete_append_multi_range() -> anyhow::Result<()> {
12401244
),
12411245
"a<backspace>",
12421246
format!("#[ {eol}|]##( {eol}|)##( {eol}|)#", eol = LINE_END),
1247+
LineFeedHandling::AsIs,
12431248
))
12441249
.await?;
12451250
}
@@ -1259,6 +1264,7 @@ async fn delete_append_end_of_word() -> anyhow::Result<()> {
12591264
),
12601265
"a<backspace>",
12611266
format!("fo#[o{}|]#", LINE_END),
1267+
LineFeedHandling::AsIs,
12621268
))
12631269
.await?;
12641270
}
@@ -1340,6 +1346,7 @@ async fn delete_append_end_of_word_multi() -> anyhow::Result<()> {
13401346
),
13411347
"a<backspace>",
13421348
format!("fo#[o{eol}|]#fo#(o{eol}|)#fo#(o{eol}|)#", eol = LINE_END),
1349+
LineFeedHandling::AsIs,
13431350
))
13441351
.await?;
13451352
}

0 commit comments

Comments
 (0)