aboutsummaryrefslogtreecommitdiff
path: root/helix-term/tests/test/helpers.rs
diff options
context:
space:
mode:
authorAlex2023-06-16 17:02:15 +0000
committerGitHub2023-06-16 17:02:15 +0000
commit3fb9fafb2a366d004a04aa3d45d52e3ecfb57241 (patch)
tree170c649b6ef245fae3e530188014b26ab65d7ac4 /helix-term/tests/test/helpers.rs
parentdf094909d17469ded9782bd3fa714a7c34f20cd6 (diff)
Add config for default line ending (#5621)
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 30fe7d0e..6466bc76 100644
--- a/helix-term/tests/test/helpers.rs
+++ b/helix-term/tests/test/helpers.rs
@@ -244,7 +244,7 @@ pub fn test_editor_config() -> helix_view::editor::Config {
/// character, and if one doesn't exist already, appends the system's
/// appropriate line ending to the end of a string.
pub fn platform_line(input: &str) -> String {
- let line_end = helix_core::DEFAULT_LINE_ENDING.as_str();
+ let line_end = helix_core::NATIVE_LINE_ENDING.as_str();
// we can assume that the source files in this code base will always
// be LF, so indoc strings will always insert LF