summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2009-01-08 22:03:40 +0000
committerAntony Dovgal <tony2001@php.net>2009-01-08 22:03:40 +0000
commit7bad8ec1ca11475ceaa81b2ad33e7dc26c55872f (patch)
treed9499eddce369ed1de622edb69b6c58c62d684ed
parent7ac1f7eee7511a32704c26e03f71abb6729e0382 (diff)
downloadphp-git-7bad8ec1ca11475ceaa81b2ad33e7dc26c55872f.tar.gz
fix tests
-rw-r--r--ext/zip/tests/bug11216.phpt4
-rw-r--r--ext/zip/tests/bug38944.phpt4
-rw-r--r--ext/zip/tests/oo_properties.phpt4
3 files changed, 6 insertions, 6 deletions
diff --git a/ext/zip/tests/bug11216.phpt b/ext/zip/tests/bug11216.phpt
index 607217ad72..7601e6af85 100644
--- a/ext/zip/tests/bug11216.phpt
+++ b/ext/zip/tests/bug11216.phpt
@@ -15,14 +15,14 @@ var_dump($archive->addEmptyDir('test'));
$archive->close();
unlink('__test.zip');
?>
---EXPECT--
+--EXPECTF--
bool(true)
ZipArchive Object
(
[status] => 0
[statusSys] => 0
[numFiles] => 1
- [filename] =>
+ [filename] => %s
[comment] =>
)
bool(false)
diff --git a/ext/zip/tests/bug38944.phpt b/ext/zip/tests/bug38944.phpt
index ee12fad2b3..7cff60c984 100644
--- a/ext/zip/tests/bug38944.phpt
+++ b/ext/zip/tests/bug38944.phpt
@@ -23,7 +23,7 @@ echo "Done\n";
int(0)
int(0)
int(0)
-string(0) ""
+string(%d) "%s"
string(0) ""
object(ZipArchive)#%d (5) {
["status"]=>
@@ -33,7 +33,7 @@ object(ZipArchive)#%d (5) {
["numFiles"]=>
int(0)
["filename"]=>
- string(0) ""
+ string(%d) "%s"
["comment"]=>
string(0) ""
}
diff --git a/ext/zip/tests/oo_properties.phpt b/ext/zip/tests/oo_properties.phpt
index 7078f454cf..886317b57b 100644
--- a/ext/zip/tests/oo_properties.phpt
+++ b/ext/zip/tests/oo_properties.phpt
@@ -51,8 +51,8 @@ zip->status (0):
zip->numFiles (5):
empty(): 0
isset(): 1
-zip->filename (0):
- empty(): 1
+zip->filename (%d):
+ empty(): 0
isset(): 1
zip->comment (19):
empty(): 0