Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix output for non-verbose mode.

  • Loading branch information...
commit 5ef781dae434e8f25f9f22a58a19e7cfc6c61d32 1 parent cc41e05
@sebastianbergmann authored
Showing with 6 additions and 5 deletions.
  1. +6 −5 PHPUnit/TextUI/ResultPrinter.php
View
11 PHPUnit/TextUI/ResultPrinter.php
@@ -468,8 +468,9 @@ public function startTestSuite(PHPUnit_Framework_TestSuite $suite)
);
$this->depth++;
- $this->lastEvent = self::EVENT_TESTSUITE_START;
}
+
+ $this->lastEvent = self::EVENT_TESTSUITE_START;
}
/**
@@ -483,12 +484,12 @@ public function endTestSuite(PHPUnit_Framework_TestSuite $suite)
{
if ($this->verbose) {
$this->depth--;
- }
- $this->column = 0;
+ $this->column = 0;
- if ($this->lastEvent != self::EVENT_TESTSUITE_END) {
- $this->write("\n");
+ if ($this->lastEvent != self::EVENT_TESTSUITE_END) {
+ $this->write("\n");
+ }
}
$this->lastEvent = self::EVENT_TESTSUITE_END;
Please sign in to comment.
Something went wrong with that request. Please try again.