File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -647,7 +647,7 @@ ignore = []
647
647
// this test requires nightly
648
648
None | Some ( "nightly" ) => {
649
649
let _outer_config = make_temp_file (
650
- "a /rustfmt.toml" ,
650
+ "fmt_test_merged_config /rustfmt.toml" ,
651
651
r#"
652
652
tab_spaces = 2
653
653
fn_call_width = 50
@@ -656,7 +656,7 @@ ignore = ["b/main.rs", "util.rs"]
656
656
) ;
657
657
658
658
let inner_config = make_temp_file (
659
- "a /b/rustfmt.toml" ,
659
+ "fmt_test_merged_config /b/rustfmt.toml" ,
660
660
r#"
661
661
version = "two"
662
662
tab_spaces = 3
@@ -672,8 +672,8 @@ ignore = []
672
672
assert_eq ! ( config. ignore( ) . to_string( ) , r#"["main.rs"]"# ) ;
673
673
674
674
let paths = paths. unwrap ( ) ;
675
- assert ! ( paths[ 0 ] . ends_with( "a /rustfmt.toml" ) ) ;
676
- assert ! ( paths[ 1 ] . ends_with( "a /b/rustfmt.toml" ) ) ;
675
+ assert ! ( paths[ 0 ] . ends_with( "fmt_test_merged_config /rustfmt.toml" ) ) ;
676
+ assert ! ( paths[ 1 ] . ends_with( "fmt_test_merged_config /b/rustfmt.toml" ) ) ;
677
677
}
678
678
_ => { }
679
679
} ;
You can’t perform that action at this time.
0 commit comments