File tree 1 file changed +4
-3
lines changed
src/tools/compiletest/src
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> {
3156
3156
3157
3157
if self . config . bless {
3158
3158
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 ( )
3160
3160
{
3161
3161
std:: fs:: remove_file ( e. unwrap ( ) ) . unwrap ( ) ;
3162
3162
}
3163
3163
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 ( )
3165
3165
{
3166
3166
std:: fs:: remove_file ( e. unwrap ( ) ) . unwrap ( ) ;
3167
3167
}
@@ -3199,7 +3199,8 @@ impl<'test> TestCx<'test> {
3199
3199
from_file = format ! ( "{}.{}.mir" , test_name, first_pass) ;
3200
3200
to_file = Some ( second_file) ;
3201
3201
} 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) ;
3203
3204
from_file = test_name. to_string ( ) ;
3204
3205
assert ! (
3205
3206
test_names. next( ) . is_none( ) ,
You can’t perform that action at this time.
0 commit comments