diff --git a/catch_reporter_xml.hpp b/catch_reporter_xml.hpp index 8b26f169..b54e39b6 100644 --- a/catch_reporter_xml.hpp +++ b/catch_reporter_xml.hpp @@ -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() )