@@ -91,24 +91,23 @@ expect "Testing Path functions..." {
9191 expect "✓ Path.exists! returns true for a file that exists" {
9292 expect "✓ Path.exists! returns false for a file that does not exist" {
9393 expect "" {
94-
95- # Cleanup phase
96- expect "Cleaning up test files..." {
97- expect "Files to clean up:" {
98- expect -re "-rw-r--r-- \\d+ \\w+ \\w+ \\d+ \\w+ +\\d+ \\d+:\\d+ test_path_bytes\\.txt " {
99- expect -re "-rw-r--r-- \\d+ \\w+ \\w+ \\d+ \\w+ +\\d+ \\d+:\\d+ test_path_hardlink\\.txt " {
100- expect -re "-rw-r--r-- \\d+ \\w+ \\w+ \\d+ \\w+ +\\d+ \\d+:\\d+ test_path_json \\.json " {
101- expect -re "-rw-r--r-- \\d+ \\w+ \\w+ \\d+ \\w+ +\\d+ \\d+:\\d+ test_path_original \\.txt" {
102- expect -re "-rw-r--r-- \\d+ \\w+ \\w+ \\d+ \\w+ +\\d+ \\d+:\\d+ test_path_rename_new \\.txt " {
103- expect -re "-rw-r--r-- \\d+ \\w+ \\w+ \\d+ \\w+ +\\d+ \\d+:\\d+ test_path_utf8 \\.txt" {
104- expect " " {
105- expect "Files remaining after cleanup: Bool.false " {
94+ expect "I ran all Path function tests." {
95+ expect "" {
96+
97+ # Cleanup phase
98+ expect "Cleaning up test files... " {
99+ expect "Files to clean up: " {
100+ expect -re "-rw-r--r-- \\d+ \\w+ \\w+ \\d+ \\w+ +\\d+ \\d+:\\d+ test_path_bytes \\.txt " {
101+ expect -re "-rw-r--r-- \\d+ \\w+ \\w+ \\d+ \\w+ +\\d+ \\d+:\\d+ test_path_hardlink \\.txt" {
102+ expect -re "-rw-r--r-- \\d+ \\w+ \\w+ \\d+ \\w+ +\\d+ \\d+:\\d+ test_path_json \\.json " {
103+ expect -re "-rw-r--r-- \\d+ \\w+ \\w+ \\d+ \\w+ +\\d+ \\d+:\\d+ test_path_original \\.txt" {
104+ expect -re "-rw-r--r-- \\d+ \\w+ \\w+ \\d+ \\w+ +\\d+ \\d+:\\d+ test_path_rename_new\\.txt " {
105+ expect -re "-rw-r--r-- \\d+ \\w+ \\w+ \\d+ \\w+ +\\d+ \\d+:\\d+ test_path_utf8\\.txt " {
106106 expect "" {
107-
108- # Final completion message
109- expect "I ran all Path function tests." {
107+ expect "Files remaining after cleanup: Bool.false" {
110108 expect eof {
111- check_exit_and_segfault
109+ check_exit_and_segfault
110+ }
112111 }
113112 }
114113 }
@@ -121,7 +120,6 @@ expect "Testing Path functions..." {
121120 }
122121 }
123122 }
124- }
125123 }
126124 }
127125 }
0 commit comments