mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-02 02:17:44 +03:00
minor: Fix native line-ending handling in trimming integration tests
This commit is contained in:
parent
67879a1e5b
commit
b38eae1f98
1 changed files with 2 additions and 2 deletions
|
@ -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?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue