Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-term/tests/test/languages/go.rs')
| -rw-r--r-- | helix-term/tests/test/languages/go.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/helix-term/tests/test/languages/go.rs b/helix-term/tests/test/languages/go.rs index 57ef92f8..7bb3651e 100644 --- a/helix-term/tests/test/languages/go.rs +++ b/helix-term/tests/test/languages/go.rs @@ -6,30 +6,30 @@ async fn auto_indent() -> anyhow::Result<()> { let enter_tests = [ ( - indoc! {r##" + helpers::platform_line(indoc! {r##" type Test struct {#[}|]# - "##}, + "##}), "i<ret>", - indoc! {"\ + helpers::platform_line(indoc! {"\ type Test struct { \t#[|\n]# } - "}, + "}), ), ( - indoc! {"\ + helpers::platform_line(indoc! {"\ func main() { \tswitch nil {#[}|]# } - "}, + "}), "i<ret>", - indoc! {"\ + helpers::platform_line(indoc! {"\ func main() { \tswitch nil { \t\t#[|\n]# \t} } - "}, + "}), ), ]; |