aboutsummaryrefslogtreecommitdiff
path: root/helix-view
diff options
context:
space:
mode:
Diffstat (limited to 'helix-view')
-rw-r--r--helix-view/src/document.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs
index bc15da96..86f3dfb8 100644
--- a/helix-view/src/document.rs
+++ b/helix-view/src/document.rs
@@ -1161,11 +1161,7 @@ mod test {
#[test]
fn test_line_ending() {
- if cfg!(windows) {
- assert_eq!(Document::default().text().to_string(), "\r\n");
- } else {
- assert_eq!(Document::default().text().to_string(), "\n");
- }
+ assert_eq!(Document::default().text().to_string(), "");
}
macro_rules! test_decode {