X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=vendor%2Fphpunit%2Fphpunit%2Ftests%2FRegression%2FGitHub%2F445%2FIssue445Test.php;fp=vendor%2Fphpunit%2Fphpunit%2Ftests%2FRegression%2FGitHub%2F445%2FIssue445Test.php;h=c3090259ebcdd412e68856445098a950197d0399;hb=eba34333e3c89f208d2f72fa91351ad019a71583;hp=0000000000000000000000000000000000000000;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/445/Issue445Test.php b/vendor/phpunit/phpunit/tests/Regression/GitHub/445/Issue445Test.php new file mode 100644 index 000000000..c3090259e --- /dev/null +++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/445/Issue445Test.php @@ -0,0 +1,21 @@ +expectOutputString('test'); + print 'test'; + } + + public function testOutputWithExpectationAfter() + { + print 'test'; + $this->expectOutputString('test'); + } + + public function testNotMatchingOutput() + { + print 'bar'; + $this->expectOutputString('foo'); + } +}