]> granicus.if.org Git - php/commitdiff
- CS & Fix expectations
authorMarcus Boerger <helly@php.net>
Mon, 29 Jan 2007 22:21:48 +0000 (22:21 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 29 Jan 2007 22:21:48 +0000 (22:21 +0000)
ext/phar/tests/029.phpt

index 46d8722506f70ba23090d02fcc6885218102602b..37f7b4edaf9520ded02aab7322acd8aa6220ae1a 100755 (executable)
@@ -25,10 +25,13 @@ file_put_contents($fname2, $file);
 
 var_dump(Phar::loadPhar($fname1, 'hio'));
 var_dump(Phar::loadPhar($fname1, 'copy'));
-try {
-var_dump(Phar::loadPhar($fname2, 'copy'));
-} catch (Exception $e) {
-echo $e->getMessage();
+try
+{
+       var_dump(Phar::loadPhar($fname2, 'copy'));
+}
+catch (Exception $e)
+{
+       echo $e->getMessage() . "\n";
 }
 
 ?>
@@ -41,5 +44,5 @@ unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.2.phar.php
 --EXPECTF--
 bool(true)
 bool(true)
-
-alias "copy" is already used for archive "%s029.1.phar.php" cannot be overloaded with "%s029.2.phar.php"===DONE===
\ No newline at end of file
+alias "copy" is already used for archive "%s029.1.phar.php" cannot be overloaded with "%s029.2.phar.php"
+===DONE===