Skip to content

Commit 4638ba9

Browse files
committed
fix test cleanup
1 parent de1c407 commit 4638ba9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/tests/file/bug65701.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ var_dump(filesize($dst));
2020
<?php
2121
$file_path = dirname(__FILE__) . "/bug65701/";
2222
foreach (scandir($file_path) as $file) {
23-
if (strpos($file, "bug65701") !== false) {
23+
if (strpos($file, "bug65701") !== false || 'WIN' == substr(PHP_OS, 0, 3)) {
2424
unlink($file_path . $file);
2525
}
2626
}

0 commit comments

Comments
 (0)