Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

Commit

Permalink
better printing of matching matcher lines
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbintz committed Sep 20, 2011
1 parent 262b7a8 commit 4f8a49e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ext/jasmine-webkit-specrunner/ConsoleOutput.cpp
Expand Up @@ -87,8 +87,10 @@ void ConsoleOutput::logSpecResult(const QString &result) {

red();
while (linesIterator.hasNext()) {
*outputIO << " " << qPrintable(linesIterator.next()) << std::endl;
yellow();
QString line = linesIterator.next();
if (!linesIterator.hasNext())
yellow();
*outputIO << " " << qPrintable(line) << std::endl;
}

clear();
Expand Down

0 comments on commit 4f8a49e

Please sign in to comment.