From 5933d75cdcebecc6fc5f43a37fd7ec53b0759d66 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Fri, 19 Dec 2014 19:25:53 +0000 Subject: [PATCH] Fixed HasExpression check classic spurious ! prefix --- include/reporters/catch_reporter_teamcity.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" +