diff options
author | Skyler Hawthorne | 2022-11-11 04:58:03 +0000 |
---|---|---|
committer | Michael Davis | 2023-03-20 23:34:40 +0000 |
commit | 4bdeb9927b5aa0fb71484faae8f3aa9c5ce67381 (patch) | |
tree | 6c348fd5ff2d937560df81ced6572cfa8b14050c /helix-term/tests/test/auto_indent.rs | |
parent | d3b051d28ea62c313fc72583d04f2a897e8d6f40 (diff) |
migrate test_with_config to use AppBuilder
Diffstat (limited to 'helix-term/tests/test/auto_indent.rs')
-rw-r--r-- | helix-term/tests/test/auto_indent.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/helix-term/tests/test/auto_indent.rs b/helix-term/tests/test/auto_indent.rs index e626acad..5132d44d 100644 --- a/helix-term/tests/test/auto_indent.rs +++ b/helix-term/tests/test/auto_indent.rs @@ -3,12 +3,7 @@ use super::*; #[tokio::test(flavor = "multi_thread")] async fn auto_indent_c() -> anyhow::Result<()> { test_with_config( - Args { - files: vec![(PathBuf::from("foo.c"), Position::default())], - ..Default::default() - }, - helpers::test_config(), - helpers::test_syntax_conf(None), + AppBuilder::new().with_file("foo.c", None), // switches to append mode? ( helpers::platform_line("void foo() {#[|}]#"), |