File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/tools/compiletest/src Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -3156,12 +3156,12 @@ impl<'test> TestCx<'test> {
31563156
31573157 if self . config . bless {
31583158 for e in
3159- glob ( & format ! ( "{}/{}.*.mir{} " , test_dir. display( ) , test_crate, bit_width) ) . unwrap ( )
3159+ glob ( & format ! ( "{}/{}.*{}.mir " , test_dir. display( ) , test_crate, bit_width) ) . unwrap ( )
31603160 {
31613161 std:: fs:: remove_file ( e. unwrap ( ) ) . unwrap ( ) ;
31623162 }
31633163 for e in
3164- glob ( & format ! ( "{}/{}.*.diff{} " , test_dir. display( ) , test_crate, bit_width) ) . unwrap ( )
3164+ glob ( & format ! ( "{}/{}.*{}.diff " , test_dir. display( ) , test_crate, bit_width) ) . unwrap ( )
31653165 {
31663166 std:: fs:: remove_file ( e. unwrap ( ) ) . unwrap ( ) ;
31673167 }
@@ -3199,7 +3199,8 @@ impl<'test> TestCx<'test> {
31993199 from_file = format ! ( "{}.{}.mir" , test_name, first_pass) ;
32003200 to_file = Some ( second_file) ;
32013201 } else {
3202- expected_file = format ! ( "{}{}.mir" , test_name. trim_end_matches( ".mir" ) , bit_width) ;
3202+ expected_file =
3203+ format ! ( "{}{}.mir" , test_name. trim_end_matches( ".mir" ) , bit_width) ;
32033204 from_file = test_name. to_string ( ) ;
32043205 assert ! (
32053206 test_names. next( ) . is_none( ) ,
You can’t perform that action at this time.
0 commit comments