Test for FAIL that doesn’t take an argument

This commit is contained in:
Phil Nash committed 2013-12-14 14:30:58 +00:00
1 parent 274ed3ea76
commit b4625208d0
2 files changed
+9 -1

No files matched your search

+1 -1
View File
@@ -159,7 +159,7 @@ struct TestFailureException{};
#define INTERNAL_CATCH_MSG( messageType, resultDisposition, macroName, log ) \
do { \
INTERNAL_CATCH_ACCEPT_INFO( "", macroName, resultDisposition ); \
INTERNAL_CATCH_ACCEPT_EXPR( Catch::ExpressionResultBuilder( messageType ) << log +::Catch::StreamEndStop(), resultDisposition, true ) \
INTERNAL_CATCH_ACCEPT_EXPR( Catch::ExpressionResultBuilder( messageType ) << log, resultDisposition, true ) \
} while( Catch::isTrue( false ) )
#endif