Correctly handle special tags that also imply being hidden (!benchmark)

This commit is contained in:
Phil Nash 2017-08-05 22:24:17 +01:00
parent 519db85758
commit cff3818e68
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ namespace Catch {
else {
if( c == ']' ) {
TestCaseInfo::SpecialProperties prop = parseSpecialTag( tag );
if( prop == TestCaseInfo::IsHidden )
if( ( prop & TestCaseInfo::IsHidden ) != 0 )
isHidden = true;
else if( prop == TestCaseInfo::None )
enforceNotReservedTag( tag, _lineInfo );