mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-28 23:49:28 +00:00
Some tidy-up
This commit is contained in:
parent
f847186ebb
commit
355b5e546d
7 changed files with 25 additions and 19 deletions
|
@ -54,7 +54,7 @@ namespace Catch {
|
|||
m_exprComponents.op = op;
|
||||
return *this;
|
||||
}
|
||||
AssertionResultData ExpressionResultBuilder::build( const AssertionInfo& info ) const
|
||||
AssertionResult ExpressionResultBuilder::buildResult( const AssertionInfo& info ) const
|
||||
{
|
||||
assert( m_data.resultType != ResultWas::Unknown );
|
||||
|
||||
|
@ -74,7 +74,7 @@ namespace Catch {
|
|||
else
|
||||
data.reconstructedExpression = "!(" + data.reconstructedExpression + ")";
|
||||
}
|
||||
return data;
|
||||
return AssertionResult( info, data );
|
||||
}
|
||||
std::string ExpressionResultBuilder::reconstructExpression( const AssertionInfo& info ) const {
|
||||
if( m_exprComponents.op == "" )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue