diff options
author | Skyler Hawthorne | 2022-10-23 02:18:32 +0000 |
---|---|---|
committer | Michael Davis | 2023-03-20 23:34:40 +0000 |
commit | 5b07ce76fcf1fc3279860f079b32213689f9eb4e (patch) | |
tree | 4a8a3233be6be9243a68d582c3583befa56929a5 /helix-term/tests/test/auto_indent.rs | |
parent | 8c5ec95ac0a8535060b9e0545e4c46f57aeccbfd (diff) |
make TestCase::From more generic
Diffstat (limited to 'helix-term/tests/test/auto_indent.rs')
-rw-r--r-- | helix-term/tests/test/auto_indent.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/helix-term/tests/test/auto_indent.rs b/helix-term/tests/test/auto_indent.rs index 2d908285..e626acad 100644 --- a/helix-term/tests/test/auto_indent.rs +++ b/helix-term/tests/test/auto_indent.rs @@ -11,14 +11,13 @@ async fn auto_indent_c() -> anyhow::Result<()> { helpers::test_syntax_conf(None), // switches to append mode? ( - helpers::platform_line("void foo() {#[|}]#").as_ref(), + helpers::platform_line("void foo() {#[|}]#"), "i<ret><esc>", helpers::platform_line(indoc! {"\ void foo() { #[|\n]#\ } - "}) - .as_ref(), + "}), ), ) .await?; |