Skip to content

Commit

Permalink
Fix output for non-verbose mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Oct 6, 2006
1 parent cc41e05 commit 5ef781d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions PHPUnit/TextUI/ResultPrinter.php
Expand Up @@ -468,8 +468,9 @@ public function startTestSuite(PHPUnit_Framework_TestSuite $suite)
); );


$this->depth++; $this->depth++;
$this->lastEvent = self::EVENT_TESTSUITE_START;
} }

$this->lastEvent = self::EVENT_TESTSUITE_START;
} }


/** /**
Expand All @@ -483,12 +484,12 @@ public function endTestSuite(PHPUnit_Framework_TestSuite $suite)
{ {
if ($this->verbose) { if ($this->verbose) {
$this->depth--; $this->depth--;
}


$this->column = 0; $this->column = 0;


if ($this->lastEvent != self::EVENT_TESTSUITE_END) { if ($this->lastEvent != self::EVENT_TESTSUITE_END) {
$this->write("\n"); $this->write("\n");
}
} }


$this->lastEvent = self::EVENT_TESTSUITE_END; $this->lastEvent = self::EVENT_TESTSUITE_END;
Expand Down

0 comments on commit 5ef781d

Please sign in to comment.