From: Greg Beaver Date: Sat, 26 Apr 2008 17:29:55 +0000 (+0000) Subject: increase code coverage (and magically, mysteriously this tests passes with no other... X-Git-Tag: RELEASE_2_0_0b1~190 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=76c78a480e1e9888622752eef0c6794a766377b7;p=php increase code coverage (and magically, mysteriously this tests passes with no other changes - weird) --- diff --git a/ext/phar/tests/zip/phar_oo_compressallbz2.phpt b/ext/phar/tests/zip/phar_oo_compressallbz2.phpt index 0b75586842..d6b0a8f4cf 100644 --- a/ext/phar/tests/zip/phar_oo_compressallbz2.phpt +++ b/ext/phar/tests/zip/phar_oo_compressallbz2.phpt @@ -34,6 +34,7 @@ var_dump($phar['b']->isCompressed(Phar::BZ2)); var_dump(file_get_contents($pname . '/c')); var_dump($phar['c']->isCompressed(Phar::GZ)); var_dump($phar['b']->isCompressed(Phar::BZ2)); +$phar['d'] = 'hi'; // increases code coverage by having ufp open copy($fname, $fname2); $c = new Phar($fname2); var_dump(file_get_contents($pname2 . '/a'));