Unnamed repository; edit this file 'description' to name the repository.
list of maps
Skyler Hawthorne 2023-04-16
parent f4a043d · commit ff3b452
-rw-r--r--helix-term/tests/test/languages/yaml.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/helix-term/tests/test/languages/yaml.rs b/helix-term/tests/test/languages/yaml.rs
index 9b7b7b10..02e3a0ea 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 {