mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 04:07:10 +01:00 
			
		
		
		
	Only use std::cout/ cert via Catch::cout/ cert - and make those conditional on CATCH_CONFIG_NOSTDOUT
This commit is contained in:
		| @@ -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; | ||||
|     } | ||||
|      | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash