X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fphpunit%2Fphpunit%2Ftests%2FRegression%2FTrac%2F578.phpt;fp=vendor%2Fphpunit%2Fphpunit%2Ftests%2FRegression%2FTrac%2F578.phpt;h=27ea9f1f3004df15ed780e7e023431010c3c8296;hb=eba34333e3c89f208d2f72fa91351ad019a71583;hp=0000000000000000000000000000000000000000;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/vendor/phpunit/phpunit/tests/Regression/Trac/578.phpt b/vendor/phpunit/phpunit/tests/Regression/Trac/578.phpt new file mode 100644 index 000000000..27ea9f1f3 --- /dev/null +++ b/vendor/phpunit/phpunit/tests/Regression/Trac/578.phpt @@ -0,0 +1,37 @@ +--TEST-- +#578: Double printing of trace line for exceptions from notices and warnings +--FILE-- + +--EXPECTF-- +PHPUnit %s by Sebastian Bergmann and contributors. + +EEE + +Time: %s, Memory: %s + +There were 3 errors: + +1) Issue578Test::testNoticesDoublePrintStackTrace +Invalid error type specified + +%sIssue578Test.php:%i + +2) Issue578Test::testWarningsDoublePrintStackTrace +Invalid error type specified + +%sIssue578Test.php:%i + +3) Issue578Test::testUnexpectedExceptionsPrintsCorrectly +Exception: Double printed exception + +%sIssue578Test.php:%i + +FAILURES! +Tests: 3, Assertions: 0, Errors: 3.