Fix refactoring

This commit is contained in:
Martin Hořeňovský 2023-03-11 23:40:22 +01:00
parent 8a1b3b81cb
commit 9b884d8107
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
2 changed files with 2 additions and 2 deletions

View File

@ -295,7 +295,7 @@ namespace Catch {
}
}
if( !result.hasMessage() )
if( result.hasMessage() )
rss << result.getMessage() << '\n';
for( auto const& msg : stats.infoMessages )
if( msg.type == ResultWas::Info )

View File

@ -147,7 +147,7 @@ namespace Catch {
}
}
if (!result.hasMessage())
if (result.hasMessage())
textRss << result.getMessage() << '\n';
for (auto const& msg : stats.infoMessages)