summaryrefslogtreecommitdiff
path: root/helix-term/tests/test/auto_indent.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/tests/test/auto_indent.rs')
-rw-r--r--helix-term/tests/test/auto_indent.rs5
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?;