com php-src: added basic zlib_get_coding_type() tes t: ext/zlib/tests/zlib_get_coding_type_basic.phpt
| From: | Christoph Michael Becker | Date: | Wed, 13 Sep 2017 13:18:21 +0000 |
| Subject: | com php-src: added basic zlib_get_coding_type() tes t: ext/zlib/tests/zlib_get_coding_type_basic.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99439@lists.php.net to get a copy of this message | ||
Commit: 9e8eca1d3d5ae5d01b278d368af08a7230a9e16b
Author: Florian Engelhardt <flo@dotbox.org> Wed, 13 Sep 2017 15:18:21 +0200
Committer: GitHub <noreply@github.com> Wed, 13 Sep 2017 15:18:21 +0200
Parents: 756aaaf806e4fe291b98c6ca3f44b7526c733cc3
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9e8eca1d3d5ae5d01b278d368af08a7230a9e16b
Log:
added basic zlib_get_coding_type() test
Changed paths:
A ext/zlib/tests/zlib_get_coding_type_basic.phpt
Diff:
diff --git a/ext/zlib/tests/zlib_get_coding_type_basic.phpt
b/ext/zlib/tests/zlib_get_coding_type_basic.phpt
new file mode 100644
index 0000000..8e7df25
--- /dev/null
+++ b/ext/zlib/tests/zlib_get_coding_type_basic.phpt
@@ -0,0 +1,10 @@
+--TEST--
+test zlib_get_coding_type()
+--SKIPIF--
+<?php if (!extension_loaded("zlib")) print "skip"; ?>
+--INI--
+zlib.output_compression = Off
+--FILE--
+<?php var_dump(zlib_get_coding_type()); ?>
+--EXPECT--
+bool(false)