From: Felipe Pena Date: Sun, 12 Jun 2011 00:31:13 +0000 (+0000) Subject: - Fixed tests X-Git-Tag: php-5.4.0alpha1~52 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f277d8a22fa99df8bbfd1fbfbed6002aa2288104;p=php - Fixed tests --- diff --git a/ext/zlib/tests/gzfile_variation1.phpt b/ext/zlib/tests/gzfile_variation1.phpt index b573030f92..767abb7e30 100644 --- a/ext/zlib/tests/gzfile_variation1.phpt +++ b/ext/zlib/tests/gzfile_variation1.phpt @@ -29,15 +29,15 @@ foreach ( $variation as $var ) { ===DONE=== --EXPECTF-- -Warning: gzfile() expects parameter 1 to be string, array given in %s on line %d +Warning: gzfile() expects parameter 1 to be a valid path, array given in %s on line %d NULL -Warning: gzfile() expects parameter 1 to be string, array given in %s on line %d +Warning: gzfile() expects parameter 1 to be a valid path, array given in %s on line %d NULL -Warning: gzfile() expects parameter 1 to be string, array given in %s on line %d +Warning: gzfile() expects parameter 1 to be a valid path, array given in %s on line %d NULL -Warning: gzfile() expects parameter 1 to be string, array given in %s on line %d +Warning: gzfile() expects parameter 1 to be a valid path, array given in %s on line %d NULL -===DONE=== \ No newline at end of file +===DONE=== diff --git a/ext/zlib/tests/gzfile_variation6.phpt b/ext/zlib/tests/gzfile_variation6.phpt index 174524b3d8..1ce1be6591 100644 --- a/ext/zlib/tests/gzfile_variation6.phpt +++ b/ext/zlib/tests/gzfile_variation6.phpt @@ -45,5 +45,5 @@ foreach ( $variation as $var ) { --EXPECTF-- Error: 2 - gzfile(Class A object): failed to open stream: No such file or directory, %s(%d) bool(false) -Error: 2 - gzfile() expects parameter 1 to be string, object given, %s(%d) -NULL \ No newline at end of file +Error: 2 - gzfile() expects parameter 1 to be a valid path, object given, %s(%d) +NULL