@@ -526,7 +526,7 @@ mod tests {
526526
527527 #[ test]
528528 fn test_rm_file ( ) {
529- let file_name = "test_file .txt" ;
529+ let file_name = "test_rm_file .txt" ;
530530 std:: fs:: write ( file_name, "test content" ) . unwrap ( ) ;
531531 assert ! ( rm_file( file_name) . is_ok( ) ) ;
532532 assert ! ( !std:: path:: Path :: new( file_name) . exists( ) ) ;
@@ -558,30 +558,30 @@ mod tests {
558558
559559 #[ test]
560560 fn test_rm_file_cleanup_only ( ) {
561- let file_name = "test_file .txt" ;
561+ let file_name = "test_rm_file_cleanup_only .txt" ;
562562 std:: fs:: write ( file_name, "test content" ) . unwrap ( ) ;
563563 // Clean up without removing
564564 rm_file ( file_name) . unwrap ( ) ;
565565 }
566566
567567 #[ test]
568568 fn test_rm_file_failure_cleanup ( ) {
569- let file_name = "non_existent_file .txt" ;
569+ let file_name = "test_rm_file_failure_cleanup .txt" ;
570570 // Attempt to clean up a non-existent file
571571 assert ! ( rm_file( file_name) . is_err( ) ) ;
572572 }
573573
574574 #[ test]
575575 fn test_rm_file_success_cleanup ( ) {
576- let file_name = "test_file .txt" ;
576+ let file_name = "test_rm_file_success_cleanup .txt" ;
577577 std:: fs:: write ( file_name, "test content" ) . unwrap ( ) ;
578578 // Clean up a file that exists
579579 assert ! ( rm_file( file_name) . is_ok( ) ) ;
580580 }
581581
582582 #[ test]
583583 fn test_rm_file_success_cleanup_only ( ) {
584- let file_name = "test_file .txt" ;
584+ let file_name = "test_rm_file_success_cleanup_only .txt" ;
585585 std:: fs:: write ( file_name, "test content" ) . unwrap ( ) ;
586586 // Clean up a file that exists
587587 assert ! ( rm_file( file_name) . is_ok( ) ) ;
0 commit comments