Some tidy-up

This commit is contained in:
Phil Nash committed 2012-10-26 09:05:36 +01:00
1 parent f847186ebb
commit 355b5e546d
7 files changed
+25 -19

No files matched your search

@@ -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 == "" )