com php-src: Correct two zlib tests to use a string, not a const: ext/zlib/tests/gzfile_variation4.phpt ext/zlib/tests/re adgzfile_variation4.phpt
| From: | Stanislav Malyshev | Date: | Mon, 24 Nov 2014 01:12:37 +0000 |
| Subject: | com php-src: Correct two zlib tests to use a string, not a const: ext/zlib/tests/gzfile_variation4.phpt ext/zlib/tests/re adgzfile_variation4.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83276@lists.php.net to get a copy of this message | ||
Commit: 5351ecbfca18a86b44e5cadef67a2d6fc153a907
Author: Tim Siebels <tim_siebels_aurich@yahoo.de> Fri, 12 Sep 2014 15:04:32 +0200
Committer: Stanislav Malyshev <stas@php.net> Sun, 23 Nov 2014 17:12:37 -0800
Parents: 03dcf66f9a204a2158a266f5bb739295dfb73ee5
Branches: PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5351ecbfca18a86b44e5cadef67a2d6fc153a907
Log:
Correct two zlib tests to use a string, not a const
Changed paths:
M ext/zlib/tests/gzfile_variation4.phpt
M ext/zlib/tests/readgzfile_variation4.phpt
Diff:
diff --git a/ext/zlib/tests/gzfile_variation4.phpt b/ext/zlib/tests/gzfile_variation4.phpt
index 3310231..9b31281 100644
--- a/ext/zlib/tests/gzfile_variation4.phpt
+++ b/ext/zlib/tests/gzfile_variation4.phpt
@@ -2,7 +2,7 @@
Test function gzfile() by substituting argument 1 with float values.
--SKIPIF--
<?php
-if (!extension_loaded(zlib)) die ('skip zlib extension not available in this build');
+if (!extension_loaded('zlib')) die ('skip zlib extension not available in this
build');
?>
--FILE--
<?php
diff --git a/ext/zlib/tests/readgzfile_variation4.phpt b/ext/zlib/tests/readgzfile_variation4.phpt
index 00211f7..32f434c 100644
--- a/ext/zlib/tests/readgzfile_variation4.phpt
+++ b/ext/zlib/tests/readgzfile_variation4.phpt
@@ -2,7 +2,7 @@
Test function readgzfile() by substituting argument 1 with float values.
--SKIPIF--
<?php
-if (!extension_loaded(zlib)) die ('skip zlib extension not available in this build');
+if (!extension_loaded('zlib')) die ('skip zlib extension not available in this
build');
?>
--FILE--
<?php