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 @@ -232,7 +232,7 @@ public function run(TestCase $test): void
232232 Event \Facade::emitter ()->testConsideredRisky (
233233 $ test ->valueObjectForEvents (),
234234 sprintf (
235- 'This test printed output: %s ' ,
235+ 'Test code or tested code printed unexpected output: %s ' ,
236236 $ test ->output (),
237237 ),
238238 );
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Test Passed (PHPUnit\TestFixture\Event\RiskyBecauseOutputTest::testOne)
2727Test Printed Unexpected Output
2828*
2929Test Considered Risky (PHPUnit \TestFixture \Event \RiskyBecauseOutputTest::testOne)
30- This test printed output: *
30+ Test code or tested code printed unexpected output: *
3131Test Finished (PHPUnit \TestFixture \Event \RiskyBecauseOutputTest::testOne)
3232Test Suite Finished (PHPUnit \TestFixture \Event \RiskyBecauseOutputTest, 1 test)
3333Test 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