Fix inverted CATCH_CONFIG_DISABLE_MATCHERS toggle
This commit is contained in:
1 parent
0ca4cfb743
commit
d08e31d89e
10 files changed
+16
-16
No files matched your search
@@ -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