Skip to content

Commit

Permalink
Prevent undefined stdout index error - #3727
Browse files Browse the repository at this point in the history
(cherry picked from commit 663abe7)
  • Loading branch information
DanielRuf authored and sebastianbergmann committed Oct 28, 2019
1 parent 2d33f54 commit 24976a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Runner/PhptTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public function run(TestResult $result = null): TestResult
}

try {
$this->assertPhptExpectation($sections, $jobResult['stdout']);
$this->assertPhptExpectation($sections, $this->output);
} catch (AssertionFailedError $e) {
$failure = $e;

Expand Down

0 comments on commit 24976a8

Please sign in to comment.