Fix inverted CATCH_CONFIG_DISABLE_MATCHERS toggle

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

No files matched your search

+1 -1
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>() );