mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 03:43:28 +01:00
Fixed bug in xml reporter that didn't accumulate success status correctly
This commit is contained in:
parent
06134ba167
commit
b1d9fa82b6
@ -128,7 +128,7 @@ namespace Catch
|
||||
.writeText( resultInfo.getExpression() );
|
||||
m_xml.scopedElement( "Expanded" )
|
||||
.writeText( resultInfo.getExpandedExpression() );
|
||||
m_currentTestSuccess |= resultInfo.ok();
|
||||
m_currentTestSuccess &= resultInfo.ok();
|
||||
}
|
||||
|
||||
switch( resultInfo.getResultType() )
|
||||
|
Loading…
Reference in New Issue
Block a user