From 28627f97e9f0d7bc61368ecd221b1a0fc378f3b7 Mon Sep 17 00:00:00 2001 From: Nathan Vegdahl Date: Fri, 2 Jul 2021 00:06:53 -0700 Subject: Fix empty document test. --- helix-view/src/document.rs | 6 +----- 1 file changed, 1 insertion(+), 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 { -- cgit v1.2.3-70-g09d2