aboutsummaryrefslogtreecommitdiff
path: root/helix-term/tests/test/helpers.rs
diff options
context:
space:
mode:
authorEm Zhan2023-09-12 00:06:25 +0000
committerGitHub2023-09-12 00:06:25 +0000
commit7090555daba6bce37dc6cc900387015a10a1e791 (patch)
tree3b7a16a0621526ccddac5d0cdb39c64ae87c62d9 /helix-term/tests/test/helpers.rs
parentef23847957463b95a68599efb12a32837d73727b (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/helpers.rs')
-rw-r--r--helix-term/tests/test/helpers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/tests/test/helpers.rs b/helix-term/tests/test/helpers.rs
index 6466bc76..e6762baf 100644
--- a/helix-term/tests/test/helpers.rs
+++ b/helix-term/tests/test/helpers.rs
@@ -350,7 +350,7 @@ pub fn assert_file_has_content(file: &mut File, content: &str) -> anyhow::Result
let mut file_content = String::new();
file.read_to_string(&mut file_content)?;
- assert_eq!(content, file_content);
+ assert_eq!(file_content, content);
Ok(())
}