Fix inverted CATCH_CONFIG_DISABLE_MATCHERS toggle

This commit is contained in:
Martin Hořeňovský
2017-07-29 08:43:32 +02:00
parent 0ca4cfb743
commit d08e31d89e
10 changed files with 16 additions and 16 deletions

View File

@@ -72,7 +72,7 @@ namespace Catch {
setResultType( resultType );
captureExpression();
}
#if defined(CATCH_CONFIG_DISABLE_MATCHERS)
#if !defined(CATCH_CONFIG_DISABLE_MATCHERS)
void ResultBuilder::captureExpectedException( std::string const& expectedMessage ) {
if( expectedMessage.empty() )
captureExpectedException( Matchers::Impl::MatchAllOf<std::string>() );