Allow tests including catch to compile with g++ flags -Wall and -Werror.
This commit is contained in:
parent
4aa36f6071
commit
9dfb8157a0
4 changed files with 17 additions and 6 deletions
|
@ -142,6 +142,8 @@ namespace Catch
|
|||
case ResultWas::ExplicitFailure:
|
||||
m_config.stream() << "failed with message: '" << resultInfo.getMessage() << "'";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if( resultInfo.hasExpression() )
|
||||
|
@ -170,4 +172,4 @@ namespace Catch
|
|||
|
||||
} // end namespace Catch
|
||||
|
||||
#endif // TWOBLUECUBES_CATCH_REPORTER_BASIC_HPP_INCLUDED
|
||||
#endif // TWOBLUECUBES_CATCH_REPORTER_BASIC_HPP_INCLUDED
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue