forked from catchorg/Catch2
Fix inverted CATCH_CONFIG_DISABLE_MATCHERS toggle
This commit is contained in:
@@ -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>() );
|
||||
|
||||
Reference in New Issue
Block a user