mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Removed complex expression state (as it shouldn't compile now anyway)
This commit is contained in:
parent
13bfe477c7
commit
f35e0cbc6a
@ -27,7 +27,6 @@ struct ResultWas{ enum OfType
|
||||
|
||||
ExpressionFailed = FailureBit | 1,
|
||||
ExplicitFailure = FailureBit | 2,
|
||||
ExpressionTooComplex = FailureBit | 3,
|
||||
|
||||
Exception = 0x110,
|
||||
|
||||
|
@ -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() : "";
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user