mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-22 19:33:29 +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