Skip to content

Commit 6902d14

Browse files
committed
Properly clean up files created by test cases
1 parent 61a4ae9 commit 6902d14

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

ext/zip/tests/oo_getnameindex.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,7 @@ string(10) "entry1.txt"
4444
string(10) "entry2.txt"
4545
string(15) "dir/entry2d.txt"
4646
bool(false)
47+
--CLEAN--
48+
<?php
49+
unlink(__DIR__ . '/oo_getnameindex.zip');
50+
?>

ext/zip/tests/oo_namelocate.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,7 @@ int(0)
4343
bool(false)
4444
int(1)
4545
int(2)
46+
--CLEAN--
47+
<?php
48+
unlink(__DIR__ . '/oo_namelocate.zip');
49+
?>

0 commit comments

Comments
 (0)