Fixed indentation

This commit is contained in:
Peter Nemere 2016-06-06 14:41:20 +10:00
parent ede3dd13fa
commit 56eea9de22

View File

@ -134,21 +134,21 @@ namespace Catch {
" " << result.getExpandedExpression() << "\n";
}
// If we're allowing this to fail, report it as an ignored test in team city
if (currentTestCaseInfo->okToFail())
{
stream << "##teamcity[testIgnored"
<< " name='" << escape(currentTestCaseInfo->name) << "'"
<< " message='" << escape(std::string("[FailedButIgnored] ") + msg.str()) << "'"
<< "]\n";
}
else
{
// If we're allowing this to fail, report it as an ignored test in team city
if (currentTestCaseInfo->okToFail())
{
stream << "##teamcity[testIgnored"
<< " name='" << escape(currentTestCaseInfo->name) << "'"
<< " message='" << escape(std::string("[FailedButIgnored] ") + msg.str()) << "'"
<< "]\n";
}
else
{
stream << "##teamcity[testFailed"
<< " name='" << escape( currentTestCaseInfo->name )<< "'"
<< " message='" << escape( msg.str() ) << "'"
<< "]\n";
}
}
}
return true;
}