diff options
| author | Phil Nash | 2014-10-02 19:08:19 +0100 |
|---|---|---|
| committer | Phil Nash | 2014-10-02 19:08:19 +0100 |
| commit | 383d7c06a1ac91b3bb471cc6ea9aa275c1f996c2 (patch) | |
| tree | b9425f0fd9be54e26c5387176ca4cb625e662371 /projects/SelfTest/TestMain.cpp | |
| parent | 85b4e94192072e8e56b919ae52ffd91a80fd5dee (diff) | |
| download | catch3-383d7c06a1ac91b3bb471cc6ea9aa275c1f996c2.tar.gz | |
Only use std::cout/ cert via Catch::cout/ cert - and make those conditional on CATCH_CONFIG_NOSTDOUT
Diffstat (limited to 'projects/SelfTest/TestMain.cpp')
| -rw-r--r-- | projects/SelfTest/TestMain.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/projects/SelfTest/TestMain.cpp b/projects/SelfTest/TestMain.cpp index edc8aa1f..a377e597 100644 --- a/projects/SelfTest/TestMain.cpp +++ b/projects/SelfTest/TestMain.cpp @@ -355,14 +355,14 @@ TEST_CASE( "Strings can be rendered with colour", "[colour][.]" ) { cs .addColour( Colour::Red, 0 ) .addColour( Colour::Green, -1 ); - std::cout << cs << std::endl; + Catch::cout() << cs << std::endl; } { ColourString cs( "hello" ); cs .addColour( Colour::Blue, 1, -2 ); - std::cout << cs << std::endl; + Catch::cout() << cs << std::endl; } } |