mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-29 16:09:30 +00:00
Supress more warnings
This commit is contained in:
parent
7df1ba0926
commit
0afab69c7d
4 changed files with 16 additions and 0 deletions
|
@ -211,6 +211,11 @@ namespace Catch
|
|||
case ResultWas::ExplicitFailure:
|
||||
m_config.stream() << "failed with message: '" << resultInfo.getMessage() << "'";
|
||||
break;
|
||||
case ResultWas::Unknown: // These cases are here to prevent compiler warnings
|
||||
case ResultWas::Ok:
|
||||
case ResultWas::FailureBit:
|
||||
case ResultWas::ExpressionFailed:
|
||||
case ResultWas::Exception:
|
||||
default:
|
||||
if( !resultInfo.hasExpression() )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue