Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
local
/
wp
/
vendor
/
phpunit
/
phpunit
/
tests
/
Regression
/
GitHub
/
445
📤 Upload
📝 New File
📁 New Folder
Close
Editing: Issue445Test.php
<?php class Issue445Test extends PHPUnit_Framework_TestCase { public function testOutputWithExpectationBefore() { $this->expectOutputString('test'); print 'test'; } public function testOutputWithExpectationAfter() { print 'test'; $this->expectOutputString('test'); } public function testNotMatchingOutput() { print 'bar'; $this->expectOutputString('foo'); } }
Save
Cancel