File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -647,7 +647,7 @@ ignore = []
647647 // this test requires nightly
648648 None | Some ( "nightly" ) => {
649649 let _outer_config = make_temp_file (
650- "a /rustfmt.toml" ,
650+ "fmt_test_merged_config /rustfmt.toml" ,
651651 r#"
652652tab_spaces = 2
653653fn_call_width = 50
@@ -656,7 +656,7 @@ ignore = ["b/main.rs", "util.rs"]
656656 ) ;
657657
658658 let inner_config = make_temp_file (
659- "a /b/rustfmt.toml" ,
659+ "fmt_test_merged_config /b/rustfmt.toml" ,
660660 r#"
661661version = "two"
662662tab_spaces = 3
@@ -672,8 +672,8 @@ ignore = []
672672 assert_eq ! ( config. ignore( ) . to_string( ) , r#"["main.rs"]"# ) ;
673673
674674 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" ) ) ;
677677 }
678678 _ => { }
679679 } ;
You can’t perform that action at this time.
0 commit comments