]> granicus.if.org Git - php/commitdiff
increase code coverage (and magically, mysteriously this tests passes with no other...
authorGreg Beaver <cellog@php.net>
Sat, 26 Apr 2008 17:29:55 +0000 (17:29 +0000)
committerGreg Beaver <cellog@php.net>
Sat, 26 Apr 2008 17:29:55 +0000 (17:29 +0000)
ext/phar/tests/zip/phar_oo_compressallbz2.phpt

index 0b75586842480c5e509b19316be4f63058f9f950..d6b0a8f4cf4e57fc702a766abc2ffd44958bdeed 100644 (file)
@@ -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'));