mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	| @@ -98,11 +98,13 @@ namespace Catch { | |||||||
|             // Print any info messages in <Info> tags. |             // Print any info messages in <Info> tags. | ||||||
|             for( auto const& msg : assertionStats.infoMessages ) { |             for( auto const& msg : assertionStats.infoMessages ) { | ||||||
|                 if( msg.type == ResultWas::Info && includeResults ) { |                 if( msg.type == ResultWas::Info && includeResults ) { | ||||||
|                     m_xml.scopedElement( "Info" ) |                     auto t = m_xml.scopedElement( "Info" ); | ||||||
|                             .writeText( msg.message ); |                     writeSourceInfo( msg.lineInfo ); | ||||||
|  |                     t.writeText( msg.message ); | ||||||
|                 } else if ( msg.type == ResultWas::Warning ) { |                 } else if ( msg.type == ResultWas::Warning ) { | ||||||
|                     m_xml.scopedElement( "Warning" ) |                     auto t = m_xml.scopedElement( "Warning" ); | ||||||
|                             .writeText( msg.message ); |                     writeSourceInfo( msg.lineInfo ); | ||||||
|  |                     t.writeText( msg.message ); | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|   | |||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský