]> granicus.if.org Git - php/commitdiff
fix tests
authorAntony Dovgal <tony2001@php.net>
Thu, 8 Jan 2009 22:03:40 +0000 (22:03 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 8 Jan 2009 22:03:40 +0000 (22:03 +0000)
ext/zip/tests/bug11216.phpt
ext/zip/tests/bug38944.phpt
ext/zip/tests/oo_properties.phpt

index 607217ad7233a6afe34965b40ac3863a62f57c6b..7601e6af85a86d583588d0eca0c2f01091e963d7 100644 (file)
@@ -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)
index ee12fad2b39ecdf19512d51afb788309c1210d6a..7cff60c98451b7d5e4fc00560475ab16944e1cd6 100644 (file)
@@ -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) ""
 }
index 7078f454cfc287e91e13aecc66560632039237f0..886317b57bbe9175b46d825d42b9414434676fbf 100644 (file)
@@ -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