summaryrefslogtreecommitdiff
path: root/ext/zlib/tests
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2011-06-12 00:31:13 (GMT)
committerFelipe Pena <felipe@php.net>2011-06-12 00:31:13 (GMT)
commitf277d8a22fa99df8bbfd1fbfbed6002aa2288104 (patch)
treedd27ea108a738b64580dec1d79e373ff911156fa /ext/zlib/tests
parentbc9c089f3a4c0034e613fc57c1c429d877dde157 (diff)
downloadphp-f277d8a22fa99df8bbfd1fbfbed6002aa2288104.tar.gz
- Fixed tests
Diffstat (limited to 'ext/zlib/tests')
-rw-r--r--ext/zlib/tests/gzfile_variation1.phpt10
-rw-r--r--ext/zlib/tests/gzfile_variation6.phpt4
2 files changed, 7 insertions, 7 deletions
diff --git a/ext/zlib/tests/gzfile_variation1.phpt b/ext/zlib/tests/gzfile_variation1.phpt
index b573030..767abb7 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 174524b..1ce1be6 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