mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 12:17:11 +01:00 
			
		
		
		
	Small fixes and tweaks
This commit is contained in:
		| @@ -206,7 +206,7 @@ namespace Catch { | ||||
|                     streamVariableLengthText( "info", assertionResult.getMessage() ); | ||||
|                     break; | ||||
|                 case ResultWas::Warning: | ||||
|                     m_config.stream << "warning:\n'" << assertionResult.getMessage() << "'"; | ||||
|                     streamVariableLengthText( "warning", assertionResult.getMessage() ); | ||||
|                     break; | ||||
|                 case ResultWas::ExplicitFailure: | ||||
|                 { | ||||
| @@ -309,7 +309,7 @@ namespace Catch { | ||||
|         void streamVariableLengthText( const std::string& prefix, const std::string& text ) { | ||||
|             std::string trimmed = trim( text ); | ||||
|             if( trimmed.find_first_of( "\r\n" ) == std::string::npos ) { | ||||
|                 m_config.stream << "[" << prefix << ": " << trimmed << "]\n"; | ||||
|                 m_config.stream << "[" << prefix << ": " << trimmed << "]"; | ||||
|             } | ||||
|             else { | ||||
|                 m_config.stream << "\n[" << prefix << "] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>\n" << trimmed  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash