fix as-is tests

pull/7269/head
Skyler Hawthorne 8 months ago
parent 2456a6571f
commit 9360563997

@ -684,6 +684,7 @@ async fn delete_basic() -> anyhow::Result<()> {
format!("{}#[|{}]#{}", pair.0, pair.1, LINE_END), format!("{}#[|{}]#{}", pair.0, pair.1, LINE_END),
"i<backspace>", "i<backspace>",
format!("#[|{}]#", LINE_END), format!("#[|{}]#", LINE_END),
LineFeedHandling::AsIs,
)) ))
.await?; .await?;
} }
@ -857,6 +858,7 @@ async fn delete_configured_multi_byte_chars() -> anyhow::Result<()> {
format!("{}#[|{}]#{}", open, close, LINE_END), format!("{}#[|{}]#{}", open, close, LINE_END),
"i<backspace>", "i<backspace>",
format!("#[|{}]#", LINE_END), format!("#[|{}]#", LINE_END),
LineFeedHandling::AsIs,
), ),
) )
.await?; .await?;
@ -1053,6 +1055,7 @@ async fn delete_before_eol() -> anyhow::Result<()> {
), ),
"i<backspace>", "i<backspace>",
format!("{0}#[|{0}]#", LINE_END), format!("{0}#[|{0}]#", LINE_END),
LineFeedHandling::AsIs,
)) ))
.await?; .await?;
} }
@ -1221,6 +1224,7 @@ async fn delete_append_basic() -> anyhow::Result<()> {
), ),
"a<backspace>", "a<backspace>",
format!("#[{eol}{eol}|]#", eol = LINE_END), format!("#[{eol}{eol}|]#", eol = LINE_END),
LineFeedHandling::AsIs,
)) ))
.await?; .await?;
} }
@ -1240,6 +1244,7 @@ async fn delete_append_multi_range() -> anyhow::Result<()> {
), ),
"a<backspace>", "a<backspace>",
format!("#[ {eol}|]##( {eol}|)##( {eol}|)#", eol = LINE_END), format!("#[ {eol}|]##( {eol}|)##( {eol}|)#", eol = LINE_END),
LineFeedHandling::AsIs,
)) ))
.await?; .await?;
} }
@ -1259,6 +1264,7 @@ async fn delete_append_end_of_word() -> anyhow::Result<()> {
), ),
"a<backspace>", "a<backspace>",
format!("fo#[o{}|]#", LINE_END), format!("fo#[o{}|]#", LINE_END),
LineFeedHandling::AsIs,
)) ))
.await?; .await?;
} }
@ -1340,6 +1346,7 @@ async fn delete_append_end_of_word_multi() -> anyhow::Result<()> {
), ),
"a<backspace>", "a<backspace>",
format!("fo#[o{eol}|]#fo#(o{eol}|)#fo#(o{eol}|)#", eol = LINE_END), format!("fo#[o{eol}|]#fo#(o{eol}|)#fo#(o{eol}|)#", eol = LINE_END),
LineFeedHandling::AsIs,
)) ))
.await?; .await?;
} }

Loading…
Cancel
Save