Updated colour comments

This commit is contained in:
Phil Nash 2012-11-01 08:16:15 +00:00
parent f0f407fc3e
commit 2a1e8bfc6e

View File

@ -35,7 +35,7 @@ namespace Catch {
if( isatty( fileno(stdout) ) ) { if( isatty( fileno(stdout) ) ) {
switch( colour ) { switch( colour ) {
case TextColour::FileName: case TextColour::FileName:
std::cout << colourEscape << "[0m"; // white std::cout << colourEscape << "[0m"; // white/ normal
break; break;
case TextColour::ResultError: case TextColour::ResultError:
std::cout << colourEscape << "[1;31m"; // bold red std::cout << colourEscape << "[1;31m"; // bold red
@ -56,7 +56,7 @@ namespace Catch {
std::cout << colourEscape << "[0;33m"; // yellow std::cout << colourEscape << "[0;33m"; // yellow
break; break;
case TextColour::None: case TextColour::None:
std::cout << colourEscape << "[0m"; // reset to white std::cout << colourEscape << "[0m"; // reset
} }
} }
} }