Refactored console reporter include logic to match Xml Reporter’s

This commit is contained in:
Phil Nash
2017-03-03 14:19:41 +00:00
parent 9bee606dd6
commit f9db24a824
2 changed files with 6 additions and 9 deletions

View File

@@ -95,7 +95,7 @@ namespace Catch {
AssertionResult const& result = assertionStats.assertionResult;
bool includeResults = m_config->includeSuccessfulResults() || result.isOk();
bool includeResults = m_config->includeSuccessfulResults() || !result.isOk();
if( includeResults ) {
// Print any info messages in <Info> tags.