diff options
Diffstat (limited to 'ext/phar/tests/bug64931')
-rw-r--r-- | ext/phar/tests/bug64931/bug64931.phpt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ext/phar/tests/bug64931/bug64931.phpt b/ext/phar/tests/bug64931/bug64931.phpt index 0de8d43e78..6bf3bea7c3 100644 --- a/ext/phar/tests/bug64931/bug64931.phpt +++ b/ext/phar/tests/bug64931/bug64931.phpt @@ -13,33 +13,33 @@ echo "Test\n"; $phar = new Phar(__DIR__."/bug64931.phar"); $phar->addFile(__DIR__."/src/.pharignore", ".pharignore"); try { - $phar->addFile(__DIR__."/src/.pharignore", ".phar/gotcha"); + $phar->addFile(__DIR__."/src/.pharignore", ".phar/gotcha"); } catch (Exception $e) { - echo "CAUGHT: ". $e->getMessage() ."\n"; + echo "CAUGHT: ". $e->getMessage() ."\n"; } try { - $phar->addFromString(".phar", "gotcha"); + $phar->addFromString(".phar", "gotcha"); } catch (Exception $e) { - echo "CAUGHT: ". $e->getMessage() ."\n"; + echo "CAUGHT: ". $e->getMessage() ."\n"; } try { - $phar->addFromString(".phar//", "gotcha"); + $phar->addFromString(".phar//", "gotcha"); } catch (Exception $e) { - echo "CAUGHT: ". $e->getMessage() ."\n"; + echo "CAUGHT: ". $e->getMessage() ."\n"; } try { - $phar->addFromString(".phar\\", "gotcha"); + $phar->addFromString(".phar\\", "gotcha"); } catch (Exception $e) { - echo "CAUGHT: ". $e->getMessage() ."\n"; + echo "CAUGHT: ". $e->getMessage() ."\n"; } try { - $phar->addFromString(".phar\0", "gotcha"); + $phar->addFromString(".phar\0", "gotcha"); } catch (TypeError $e) { - echo "CAUGHT: ". $e->getMessage() ."\n"; + echo "CAUGHT: ". $e->getMessage() ."\n"; } ?> |