File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ public function run(TestCase $test): void
214214 Facade::emitter ()->testConsideredRisky (
215215 $ test ->valueObjectForEvents (),
216216 sprintf (
217- 'This test printed output: %s ' ,
217+ 'Test code or tested code printed unexpected output: %s ' ,
218218 $ test ->output (),
219219 ),
220220 );
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ Test Passed (PHPUnit\TestFixture\Event\RiskyBecauseOutputTest::testOne)
2626Test Printed Unexpected Output
2727*
2828Test Considered Risky (PHPUnit \TestFixture \Event \RiskyBecauseOutputTest::testOne)
29- This test printed output: *
29+ Test code or tested code printed unexpected output: *
3030Test Finished (PHPUnit \TestFixture \Event \RiskyBecauseOutputTest::testOne)
3131Test Suite Finished (PHPUnit \TestFixture \Event \RiskyBecauseOutputTest, 1 test)
3232Test Runner Execution Finished
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ Time: %s, Memory: %s
2121There was 1 risky test:
2222
23231 ) PHPUnit \TestFixture \Issue1570Test::testOne
24- This test printed output: *
24+ Test code or tested code printed unexpected output: *
2525
2626%s:%d
2727
Original file line number Diff line number Diff line change @@ -34,12 +34,12 @@ Failed asserting that false is true.
3434There were 2 risky tests:
3535
36361 ) Issue5340Test::testOne
37- This test printed output: output printed from passing test
37+ Test code or tested code printed unexpected output: output printed from passing test
3838
3939%s%eIssue5340Test.php:%d
4040
41412 ) Issue5340Test::testTwo
42- This test printed output:
42+ Test code or tested code printed unexpected output:
4343output printed from failing test
4444
4545%s%eIssue5340Test.php:%d
You can’t perform that action at this time.
0 commit comments