mirror of
https://github.com/catchorg/Catch2.git
synced 2025-01-11 04:13:29 +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 {
|
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
Block a user