From 76c78a480e1e9888622752eef0c6794a766377b7 Mon Sep 17 00:00:00 2001 From: Greg Beaver Date: Sat, 26 Apr 2008 17:29:55 +0000 Subject: [PATCH] increase code coverage (and magically, mysteriously this tests passes with no other changes - weird) --- ext/phar/tests/zip/phar_oo_compressallbz2.phpt | 1 + 1 file changed, 1 insertion(+) 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')); -- 2.50.1