Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/projects/SelfTest/TestMain.cpp
diff options
context:
space:
mode:
authorPhil Nash2014-10-02 19:08:19 +0100
committerPhil Nash2014-10-02 19:08:19 +0100
commit383d7c06a1ac91b3bb471cc6ea9aa275c1f996c2 (patch)
treeb9425f0fd9be54e26c5387176ca4cb625e662371 /projects/SelfTest/TestMain.cpp
parent85b4e94192072e8e56b919ae52ffd91a80fd5dee (diff)
downloadcatch3-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.cpp4
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;
}
}