From: Greg Beaver Date: Wed, 23 Apr 2008 18:46:48 +0000 (+0000) Subject: increase code coverage X-Git-Tag: RELEASE_2_0_0b1~241 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cebd8a5864076d72a68f31194c40f7620dc5d906;p=php increase code coverage --- diff --git a/ext/phar/tests/phar_convert_again.phpt b/ext/phar/tests/phar_convert_again.phpt index 26c738b2b1..903eb6afe5 100644 --- a/ext/phar/tests/phar_convert_again.phpt +++ b/ext/phar/tests/phar_convert_again.phpt @@ -58,6 +58,11 @@ $tgz->convertToExecutable(Phar::ZIP, Phar::GZ); } catch (Exception $e) { echo $e->getMessage() . "\n"; } +try { +$tgz->convertToExecutable(Phar::ZIP, Phar::BZ2); +} catch (Exception $e) { +echo $e->getMessage() . "\n"; +} ?> ===DONE=== --CLEAN-- @@ -85,4 +90,5 @@ hi %sphar_convert_again2.phar.tar.gz Unknown file format specified, please pass one of Phar::PHAR, Phar::TAR or Phar::ZIP Cannot compress entire archive with gzip, zip archives do not support whole-archive compression +Cannot compress entire archive with bz2, zip archives do not support whole-archive compression ===DONE===