diff options
| author | Phil Nash | 2011-04-19 18:53:24 +0100 |
|---|---|---|
| committer | Phil Nash | 2011-04-19 18:53:24 +0100 |
| commit | b1d9fa82b68240ea4bc4365c295abf3a397f4d68 (patch) | |
| tree | b59380f521d8f935df694ee578663058c0aa3f64 | |
| parent | 06134ba1677be44d59e3566fbb318c0f0a9ee81d (diff) | |
| download | catch3-b1d9fa82b68240ea4bc4365c295abf3a397f4d68.tar.gz | |
Fixed bug in xml reporter that didn't accumulate success status correctly
| -rw-r--r-- | catch_reporter_xml.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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() ) |