diff options
author | Em Zhan | 2023-09-12 00:06:25 +0000 |
---|---|---|
committer | GitHub | 2023-09-12 00:06:25 +0000 |
commit | 7090555daba6bce37dc6cc900387015a10a1e791 (patch) | |
tree | 3b7a16a0621526ccddac5d0cdb39c64ae87c62d9 /helix-term/tests/test/splits.rs | |
parent | ef23847957463b95a68599efb12a32837d73727b (diff) |
Add `insert-final-newline` config option (#8157)
Co-authored-by: Xalfer <64538944+Xalfer@users.noreply.github.com>
Diffstat (limited to 'helix-term/tests/test/splits.rs')
-rw-r--r-- | helix-term/tests/test/splits.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/helix-term/tests/test/splits.rs b/helix-term/tests/test/splits.rs index 1d70f24a..f010c86b 100644 --- a/helix-term/tests/test/splits.rs +++ b/helix-term/tests/test/splits.rs @@ -62,9 +62,9 @@ async fn test_split_write_quit_all() -> anyhow::Result<()> { ) .await?; - helpers::assert_file_has_content(file1.as_file_mut(), "hello1")?; - helpers::assert_file_has_content(file2.as_file_mut(), "hello2")?; - helpers::assert_file_has_content(file3.as_file_mut(), "hello3")?; + helpers::assert_file_has_content(file1.as_file_mut(), &platform_line("hello1"))?; + helpers::assert_file_has_content(file2.as_file_mut(), &platform_line("hello2"))?; + helpers::assert_file_has_content(file3.as_file_mut(), &platform_line("hello3"))?; Ok(()) } |