diff --git a/internal/catch_result_type.h b/internal/catch_result_type.h index 39a2d5d0..4df93880 100644 --- a/internal/catch_result_type.h +++ b/internal/catch_result_type.h @@ -27,7 +27,6 @@ struct ResultWas{ enum OfType ExpressionFailed = FailureBit | 1, ExplicitFailure = FailureBit | 2, - ExpressionTooComplex = FailureBit | 3, Exception = 0x110, diff --git a/internal/catch_resultinfo.hpp b/internal/catch_resultinfo.hpp index 256618ba..016ec8c2 100644 --- a/internal/catch_resultinfo.hpp +++ b/internal/catch_resultinfo.hpp @@ -98,12 +98,7 @@ namespace Catch () const { - if( !hasExpression() ) - return ""; - - return m_result == ResultWas::ExpressionTooComplex - ? getExpandedExpressionInternal() + " {couldn't fully decompose the expression to evaluate it - please rewrite as a binary comparison}" - : getExpandedExpressionInternal(); + return hasExpression() ? getExpandedExpressionInternal() : ""; } ///////////////////////////////////////////////////////////////////////////