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 | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/helix-term/tests/test/languages/go.rs b/helix-term/tests/test/languages/go.rs deleted file mode 100644 index 57ef92f8..00000000 --- a/helix-term/tests/test/languages/go.rs +++ /dev/null @@ -1,41 +0,0 @@ -use super::*; - -#[tokio::test(flavor = "multi_thread")] -async fn auto_indent() -> anyhow::Result<()> { - let app = || AppBuilder::new().with_file("foo.go", None); - - let enter_tests = [ - ( - indoc! {r##" - type Test struct {#[}|]# - "##}, - "i<ret>", - indoc! {"\ - type Test struct { - \t#[|\n]# - } - "}, - ), - ( - indoc! {"\ - func main() { - \tswitch nil {#[}|]# - } - "}, - "i<ret>", - indoc! {"\ - func main() { - \tswitch nil { - \t\t#[|\n]# - \t} - } - "}, - ), - ]; - - for test in enter_tests { - test_with_config(app(), test).await?; - } - - Ok(()) -} |