Fixed inconsistency in reporting of _FALSE (negated) expressions

This commit is contained in:
Phil Nash
2013-05-17 19:35:33 +01:00
parent 374335fc84
commit d4305377b7
4 changed files with 25 additions and 22 deletions

View File

@@ -191,11 +191,7 @@ namespace Catch {
if( result.hasExpression() ) {
Colour colourGuard( Colour::OriginalExpression );
stream << " ";
if( !result.getTestMacroName().empty() )
stream << result.getTestMacroName() << "( ";
stream << result.getExpression();
if( !result.getTestMacroName().empty() )
stream << " )";
stream << result.getExpressionInMacro();
stream << "\n";
}
}