Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Closes #371.

  • Loading branch information...
commit 88066816241215668267dc0d4a379f11a5154236 1 parent cd4cea9
@sebastianbergmann authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 PHPUnit/Framework/TestCase.php
View
4 PHPUnit/Framework/TestCase.php
@@ -398,7 +398,9 @@ public function getActualOutput()
*/
public function hasOutput()
{
- return !empty($this->output);
+ return !empty($this->output) &&
+ $this->outputExpectedString !== NULL &&
+ $this->outputExpectedRegex !== NULL;
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.