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() );
|
.writeText( resultInfo.getExpression() );
|
||||||
m_xml.scopedElement( "Expanded" )
|
m_xml.scopedElement( "Expanded" )
|
||||||
.writeText( resultInfo.getExpandedExpression() );
|
.writeText( resultInfo.getExpandedExpression() );
|
||||||
m_currentTestSuccess |= resultInfo.ok();
|
m_currentTestSuccess &= resultInfo.ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
switch( resultInfo.getResultType() )
|
switch( resultInfo.getResultType() )
|
||||||
|
Loading…
Reference in New Issue
Block a user