Skip to content

Commit 7bad8ec

Browse files
committed
fix tests
1 parent 7ac1f7e commit 7bad8ec

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎ext/zip/tests/bug11216.phpt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ var_dump($archive->addEmptyDir('test'));
1515
$archive->close();
1616
unlink('__test.zip');
1717
?>
18-
--EXPECT--
18+
--EXPECTF--
1919
bool(true)
2020
ZipArchive Object
2121
(
2222
[status] => 0
2323
[statusSys] => 0
2424
[numFiles] => 1
25-
[filename] =>
25+
[filename] => %s
2626
[comment] =>
2727
)
2828
bool(false)

‎ext/zip/tests/bug38944.phpt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ echo "Done\n";
2323
int(0)
2424
int(0)
2525
int(0)
26-
string(0) ""
26+
string(%d) "%s"
2727
string(0) ""
2828
object(ZipArchive)#%d (5) {
2929
["status"]=>
@@ -33,7 +33,7 @@ object(ZipArchive)#%d (5) {
3333
["numFiles"]=>
3434
int(0)
3535
["filename"]=>
36-
string(0) ""
36+
string(%d) "%s"
3737
["comment"]=>
3838
string(0) ""
3939
}

‎ext/zip/tests/oo_properties.phpt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ zip->status (0):
5151
zip->numFiles (5):
5252
empty(): 0
5353
isset(): 1
54-
zip->filename (0):
55-
empty(): 1
54+
zip->filename (%d):
55+
empty(): 0
5656
isset(): 1
5757
zip->comment (19):
5858
empty(): 0

0 commit comments

Comments
 (0)