mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Updated colour comments
This commit is contained in:
parent
f0f407fc3e
commit
2a1e8bfc6e
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user