mirror of https://github.com/catchorg/Catch2.git
Correctly handle special tags that also imply being hidden (!benchmark)
This commit is contained in:
parent
519db85758
commit
cff3818e68
|
@ -69,7 +69,7 @@ namespace Catch {
|
||||||
else {
|
else {
|
||||||
if( c == ']' ) {
|
if( c == ']' ) {
|
||||||
TestCaseInfo::SpecialProperties prop = parseSpecialTag( tag );
|
TestCaseInfo::SpecialProperties prop = parseSpecialTag( tag );
|
||||||
if( prop == TestCaseInfo::IsHidden )
|
if( ( prop & TestCaseInfo::IsHidden ) != 0 )
|
||||||
isHidden = true;
|
isHidden = true;
|
||||||
else if( prop == TestCaseInfo::None )
|
else if( prop == TestCaseInfo::None )
|
||||||
enforceNotReservedTag( tag, _lineInfo );
|
enforceNotReservedTag( tag, _lineInfo );
|
||||||
|
|
Loading…
Reference in New Issue