Fixed bug in xml reporter that didn't accumulate success status correctly

This commit is contained in:
Phil Nash 2011-04-19 18:53:24 +01:00
parent 06134ba167
commit b1d9fa82b6
1 changed files with 1 additions and 1 deletions

View File

@ -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() )