@@ -504,7 +504,7 @@ fn test_check_strict_error() {
504504 let scene = TestScenario :: new ( util_name ! ( ) ) ;
505505 let at = & scene. fixtures ;
506506
507- at. write ( "f" , " ") ;
507+ at. touch ( "f" ) ;
508508 at. write (
509509 "in.md5" ,
510510 "ERR\n ERR\n d41d8cd98f00b204e9800998ecf8427e f\n ERR\n " ,
@@ -523,7 +523,7 @@ fn test_check_warn() {
523523 let scene = TestScenario :: new ( util_name ! ( ) ) ;
524524 let at = & scene. fixtures ;
525525
526- at. write ( "f" , " ") ;
526+ at. touch ( "f" ) ;
527527 at. write (
528528 "in.md5" ,
529529 "d41d8cd98f00b204e9800998ecf8427e f\n d41d8cd98f00b204e9800998ecf8427e f\n invalid\n " ,
@@ -551,7 +551,7 @@ fn test_check_status() {
551551 let scene = TestScenario :: new ( util_name ! ( ) ) ;
552552 let at = & scene. fixtures ;
553553
554- at. write ( "f" , " ") ;
554+ at. touch ( "f" ) ;
555555 at. write ( "in.md5" , "MD5(f)= d41d8cd98f00b204e9800998ecf8427f\n " ) ;
556556 scene
557557 . ccmd ( "md5sum" )
@@ -567,7 +567,7 @@ fn test_check_status_code() {
567567 let scene = TestScenario :: new ( util_name ! ( ) ) ;
568568 let at = & scene. fixtures ;
569569
570- at. write ( "f" , " ") ;
570+ at. touch ( "f" ) ;
571571 at. write ( "in.md5" , "d41d8cd98f00b204e9800998ecf8427f f\n " ) ;
572572 scene
573573 . ccmd ( "md5sum" )
@@ -584,7 +584,7 @@ fn test_check_no_backslash_no_space() {
584584 let scene = TestScenario :: new ( util_name ! ( ) ) ;
585585 let at = & scene. fixtures ;
586586
587- at. write ( "f" , " ") ;
587+ at. touch ( "f" ) ;
588588 at. write ( "in.md5" , "MD5(f)= d41d8cd98f00b204e9800998ecf8427e\n " ) ;
589589 scene
590590 . ccmd ( "md5sum" )
@@ -599,7 +599,7 @@ fn test_check_check_ignore_no_file() {
599599 let scene = TestScenario :: new ( util_name ! ( ) ) ;
600600 let at = & scene. fixtures ;
601601
602- at. write ( "f" , " ") ;
602+ at. touch ( "f" ) ;
603603 at. write ( "in.md5" , "d41d8cd98f00b204e9800998ecf8427f missing\n " ) ;
604604 scene
605605 . ccmd ( "md5sum" )
0 commit comments