From ff3b452c482a586b2e00cf59a427ac25b03853e5 Mon Sep 17 00:00:00 2001 From: Skyler Hawthorne Date: Sun, 16 Apr 2023 00:05:08 -0400 Subject: [PATCH] list of maps --- helix-term/tests/test/languages/yaml.rs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/helix-term/tests/test/languages/yaml.rs b/helix-term/tests/test/languages/yaml.rs index 9b7b7b10f..02e3a0ead 100644 --- a/helix-term/tests/test/languages/yaml.rs +++ b/helix-term/tests/test/languages/yaml.rs @@ -293,6 +293,22 @@ async fn auto_indent() -> anyhow::Result<()> { fook: "}), ), + ( + helpers::platform_line(indoc! {"\ + - top: + baz: foo + bax: foox#[\n|]# + fook: + "}), + "o", + helpers::platform_line(indoc! {"\ + - top: + baz: foo + bax: foox + #[\n|]# + fook: + "}), + ), ]; for test in below_tests {