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