diff options
author | Skyler Hawthorne | 2022-04-29 20:27:35 +0000 |
---|---|---|
committer | Skyler Hawthorne | 2022-06-19 03:57:47 +0000 |
commit | ef8fe5a5ce536c65f34e479db79b94c8435aa3b2 (patch) | |
tree | 3ceb1adaf98d6cae9198497e16e56eddba61869a /helix-term/tests/integration/auto_indent.rs | |
parent | 28e94fb2613fbedeef56c1bc6e21830277bb35bb (diff) |
use system's appropriate line ending
Diffstat (limited to 'helix-term/tests/integration/auto_indent.rs')
-rw-r--r-- | helix-term/tests/integration/auto_indent.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/helix-term/tests/integration/auto_indent.rs b/helix-term/tests/integration/auto_indent.rs index 74d1ac58..8933cb6a 100644 --- a/helix-term/tests/integration/auto_indent.rs +++ b/helix-term/tests/integration/auto_indent.rs @@ -10,13 +10,14 @@ async fn auto_indent_c() -> anyhow::Result<()> { Config::default(), // switches to append mode? ( - "void foo() {#[|}]#\n", + helpers::platform_line("void foo() {#[|}]#").as_ref(), "i<ret><esc>", - indoc! {"\ + helpers::platform_line(indoc! {"\ void foo() { #[|\n]#\ } - "}, + "}) + .as_ref(), ), ) .await?; |