Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--helix-term/tests/test/commands/write.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/tests/test/commands/write.rs b/helix-term/tests/test/commands/write.rs
index f7123f68..4b78e14c 100644
--- a/helix-term/tests/test/commands/write.rs
+++ b/helix-term/tests/test/commands/write.rs
@@ -432,7 +432,7 @@ async fn test_write_trim_trailing_whitespace() -> anyhow::Result<()> {
..Default::default()
})
.with_file(file.path(), None)
- .with_input_text("#[f|]#oo \n\n \nbar ")
+ .with_input_text(LineFeedHandling::Native.apply("#[f|]#oo \n\n \nbar "))
.build()?;
test_key_sequence(&mut app, Some(":w<ret>"), None, false).await?;
@@ -454,7 +454,7 @@ async fn test_write_trim_final_newlines() -> anyhow::Result<()> {
..Default::default()
})
.with_file(file.path(), None)
- .with_input_text("#[f|]#oo\n \n\n\n")
+ .with_input_text(LineFeedHandling::Native.apply("#[f|]#oo\n \n\n\n"))
.build()?;
test_key_sequence(&mut app, Some(":w<ret>"), None, false).await?;