@@ -24,12 +24,18 @@ fn test_e2e_file_creation_and_rename_workflow() {
2424 fs:: rename ( & test_file, & renamed_file) . expect ( "rename file" ) ;
2525
2626 // Verify old file is gone
27- assert ! ( !test_file. exists( ) , "old file should not exist after rename" ) ;
27+ assert ! (
28+ !test_file. exists( ) ,
29+ "old file should not exist after rename"
30+ ) ;
2831 assert ! ( renamed_file. exists( ) , "renamed file should exist" ) ;
2932
3033 // Verify content is preserved
3134 let content = fs:: read_to_string ( & renamed_file) . expect ( "read renamed file" ) ;
32- assert_eq ! ( content, "test content" , "content should be preserved after rename" ) ;
35+ assert_eq ! (
36+ content, "test content" ,
37+ "content should be preserved after rename"
38+ ) ;
3339}
3440
3541/// Test complete file copy workflow
@@ -47,7 +53,10 @@ fn test_e2e_file_copy_workflow() {
4753
4854 // Verify both files exist
4955 assert ! ( source_file. exists( ) , "source file should still exist" ) ;
50- assert ! ( dest_file. exists( ) , "destination file should exist after copy" ) ;
56+ assert ! (
57+ dest_file. exists( ) ,
58+ "destination file should exist after copy"
59+ ) ;
5160
5261 // Verify content matches
5362 let source_content = fs:: read_to_string ( & source_file) . expect ( "read source" ) ;
@@ -79,7 +88,10 @@ fn test_e2e_file_move_workflow() {
7988 // Verify file is in archive with content intact
8089 assert ! ( archived_file. exists( ) , "archived file should exist" ) ;
8190 let archived_content = fs:: read_to_string ( & archived_file) . expect ( "read archived file" ) ;
82- assert_eq ! ( archived_content, content, "content should be preserved in archive" ) ;
91+ assert_eq ! (
92+ archived_content, content,
93+ "content should be preserved in archive"
94+ ) ;
8395}
8496
8597/// Test complete file deletion workflow
@@ -149,7 +161,10 @@ fn test_e2e_workflow_with_file_operations_on_large_file() {
149161
150162 // Verify copy integrity
151163 let copy_content = fs:: read ( & copy) . expect ( "read copy" ) ;
152- assert_eq ! ( copy_content, large_content, "large file copy should be identical" ) ;
164+ assert_eq ! (
165+ copy_content, large_content,
166+ "large file copy should be identical"
167+ ) ;
153168
154169 // Clean up original
155170 fs:: remove_file ( & large_file) . expect ( "delete original" ) ;
@@ -301,7 +316,11 @@ fn test_e2e_workflow_with_empty_files() {
301316 assert ! ( !empty_file. exists( ) ) ;
302317 assert ! ( renamed. exists( ) ) ;
303318 let renamed_metadata = fs:: metadata ( & renamed) . expect ( "get renamed metadata" ) ;
304- assert_eq ! ( renamed_metadata. len( ) , 0 , "renamed file should still be empty" ) ;
319+ assert_eq ! (
320+ renamed_metadata. len( ) ,
321+ 0 ,
322+ "renamed file should still be empty"
323+ ) ;
305324}
306325
307326/// Test workflow cleanup
0 commit comments