mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-17 11:12:25 +01:00
Fixed indentation
This commit is contained in:
parent
ede3dd13fa
commit
56eea9de22
@ -134,21 +134,21 @@ namespace Catch {
|
|||||||
" " << result.getExpandedExpression() << "\n";
|
" " << result.getExpandedExpression() << "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
// If we're allowing this to fail, report it as an ignored test in team city
|
// If we're allowing this to fail, report it as an ignored test in team city
|
||||||
if (currentTestCaseInfo->okToFail())
|
if (currentTestCaseInfo->okToFail())
|
||||||
{
|
{
|
||||||
stream << "##teamcity[testIgnored"
|
stream << "##teamcity[testIgnored"
|
||||||
<< " name='" << escape(currentTestCaseInfo->name) << "'"
|
<< " name='" << escape(currentTestCaseInfo->name) << "'"
|
||||||
<< " message='" << escape(std::string("[FailedButIgnored] ") + msg.str()) << "'"
|
<< " message='" << escape(std::string("[FailedButIgnored] ") + msg.str()) << "'"
|
||||||
<< "]\n";
|
<< "]\n";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
stream << "##teamcity[testFailed"
|
stream << "##teamcity[testFailed"
|
||||||
<< " name='" << escape( currentTestCaseInfo->name )<< "'"
|
<< " name='" << escape( currentTestCaseInfo->name )<< "'"
|
||||||
<< " message='" << escape( msg.str() ) << "'"
|
<< " message='" << escape( msg.str() ) << "'"
|
||||||
<< "]\n";
|
<< "]\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user