any tag prefixed with . hides the test

This commit is contained in:
Phil Nash 2014-12-15 07:07:59 +00:00
parent 30888f59bf
commit 6725e09003

View File

@ -16,7 +16,7 @@
namespace Catch {
inline TestCaseInfo::SpecialProperties parseSpecialTag( std::string const& tag ) {
if( tag == "." ||
if( startsWith( tag, "." ) ||
tag == "hide" ||
tag == "!hide" )
return TestCaseInfo::IsHidden;