mirror of
https://github.com/catchorg/Catch2.git
synced 2025-01-10 20:03:30 +01:00
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 {
|
||||
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 );
|
||||
|
Loading…
Reference in New Issue
Block a user