diff --git a/include/reporters/catch_reporter_teamcity.hpp b/include/reporters/catch_reporter_teamcity.hpp index 30cda566..f436567d 100644 --- a/include/reporters/catch_reporter_teamcity.hpp +++ b/include/reporters/catch_reporter_teamcity.hpp @@ -107,7 +107,7 @@ namespace Catch { message += "\n" + it->message; - if( !result.hasExpression() ) { + if( result.hasExpression() ) { details = " " + result.getExpressionInMacro() + "\n" "with expansion:\n" +