mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 05:16:10 +01:00
Use hasMessage() instead of getMessage().empty()
This commit is contained in:
parent
13fae1e2ff
commit
3a1ef14097
@ -295,7 +295,7 @@ namespace Catch {
|
||||
}
|
||||
}
|
||||
|
||||
if( !result.getMessage().empty() )
|
||||
if( !result.hasMessage() )
|
||||
rss << result.getMessage() << '\n';
|
||||
for( auto const& msg : stats.infoMessages )
|
||||
if( msg.type == ResultWas::Info )
|
||||
|
@ -147,7 +147,7 @@ namespace Catch {
|
||||
}
|
||||
}
|
||||
|
||||
if (!result.getMessage().empty())
|
||||
if (!result.hasMessage())
|
||||
textRss << result.getMessage() << '\n';
|
||||
|
||||
for (auto const& msg : stats.infoMessages)
|
||||
|
Loading…
Reference in New Issue
Block a user