@@ -413,12 +413,7 @@ async fn cursor_position_append_eof() -> anyhow::Result<()> {
413#[tokio::test(flavor = "multi_thread")]
413#[tokio::test(flavor = "multi_thread")]
414async fn select_mode_tree_sitter_next_function_is_union_of_objects() -> anyhow::Result<()> {
414async fn select_mode_tree_sitter_next_function_is_union_of_objects() -> anyhow::Result<()> {
415 test_with_config(
415 test_with_config(
416− Args {
416+ AppBuilder::new().with_file("foo.rs", None),
417− files: vec![(PathBuf::from("foo.rs"), Position::default())],
418− ..Default::default()
421− helpers::test_syntax_conf(None),
423 helpers::platform_line(indoc! {"\
418 helpers::platform_line(indoc! {"\
424 #[/|]#// Increments
419 #[/|]#// Increments
@@ -443,12 +438,7 @@ async fn select_mode_tree_sitter_next_function_is_union_of_objects() -> anyhow::
443#[tokio::test(flavor = "multi_thread")]
438#[tokio::test(flavor = "multi_thread")]
444async fn select_mode_tree_sitter_prev_function_unselects_object() -> anyhow::Result<()> {
439async fn select_mode_tree_sitter_prev_function_unselects_object() -> anyhow::Result<()> {
445 test_with_config(
440 test_with_config(
446− Args {
441+ AppBuilder::new().with_file("foo.rs", None),
447− files: vec![(PathBuf::from("foo.rs"), Position::default())],
448− ..Default::default()
451− helpers::test_syntax_conf(None),
453 helpers::platform_line(indoc! {"\
443 helpers::platform_line(indoc! {"\
454 /// Increments
444 /// Increments
@@ -474,12 +464,7 @@ async fn select_mode_tree_sitter_prev_function_unselects_object() -> anyhow::Res
474async fn select_mode_tree_sitter_prev_function_goes_backwards_to_object() -> anyhow::Result<()> {
464async fn select_mode_tree_sitter_prev_function_goes_backwards_to_object() -> anyhow::Result<()> {
475 // Note: the anchor stays put and the head moves back.
465 // Note: the anchor stays put and the head moves back.
476 test_with_config(
466 test_with_config(
477− Args {
467+ AppBuilder::new().with_file("foo.rs", None),
478− files: vec![(PathBuf::from("foo.rs"), Position::default())],
479− ..Default::default()
482− helpers::test_syntax_conf(None),
484 helpers::platform_line(indoc! {"\
469 helpers::platform_line(indoc! {"\
485 /// Increments
470 /// Increments
@@ -503,12 +488,7 @@ async fn select_mode_tree_sitter_prev_function_goes_backwards_to_object() -> any
505 test_with_config(
490 test_with_config(
506− Args {
491+ AppBuilder::new().with_file("foo.rs", None),
507− files: vec![(PathBuf::from("foo.rs"), Position::default())],
508− ..Default::default()
511− helpers::test_syntax_conf(None),
513 helpers::platform_line(indoc! {"\
493 helpers::platform_line(indoc! {"\
514 /// Increments
494 /// Increments