remove concatenation of m_exprComponents.op in if-branch where op has tested empty in previous line
This commit is contained in:
1 parent
7d2668fa15
commit
7255be28cc
1 file changed
+1
-1
@@ -141,7 +141,7 @@ namespace Catch {
|
||||
}
|
||||
std::string ResultBuilder::reconstructExpression() const {
|
||||
if( m_exprComponents.op == "" )
|
||||
return m_exprComponents.lhs.empty() ? m_assertionInfo.capturedExpression : m_exprComponents.op + m_exprComponents.lhs;
|
||||
return m_exprComponents.lhs.empty() ? m_assertionInfo.capturedExpression : m_exprComponents.lhs;
|
||||
else if( m_exprComponents.op == "matches" )
|
||||
return m_exprComponents.lhs + " " + m_exprComponents.rhs;
|
||||
else if( m_exprComponents.op != "!" ) {
|
||||
|
||||
Reference in new issue
Block a user