mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
parent
50bf00e266
commit
fb806da76f
@ -98,11 +98,13 @@ namespace Catch {
|
||||
// Print any info messages in <Info> tags.
|
||||
for( auto const& msg : assertionStats.infoMessages ) {
|
||||
if( msg.type == ResultWas::Info && includeResults ) {
|
||||
m_xml.scopedElement( "Info" )
|
||||
.writeText( msg.message );
|
||||
auto t = m_xml.scopedElement( "Info" );
|
||||
writeSourceInfo( msg.lineInfo );
|
||||
t.writeText( msg.message );
|
||||
} else if ( msg.type == ResultWas::Warning ) {
|
||||
m_xml.scopedElement( "Warning" )
|
||||
.writeText( msg.message );
|
||||
auto t = m_xml.scopedElement( "Warning" );
|
||||
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
Loading…
Reference in New Issue
Block a user