From f277d8a22fa99df8bbfd1fbfbed6002aa2288104 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Sun, 12 Jun 2011 00:31:13 +0000 Subject: [PATCH] - Fixed tests --- ext/zlib/tests/gzfile_variation1.phpt | 10 +++++----- ext/zlib/tests/gzfile_variation6.phpt | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) 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 -- 2.50.1