diff options
| author | Phil Nash | 2017-08-05 22:24:17 +0100 |
|---|---|---|
| committer | Phil Nash | 2017-08-05 22:24:17 +0100 |
| commit | cff3818e68158275d4d0353dc4bf359bbba1c57f (patch) | |
| tree | 7ba6ee076470d23aa5c8b198c7e971282af788ee /include | |
| parent | 519db85758220faa34b587249c335dcc79b0192a (diff) | |
| download | catch3-cff3818e68158275d4d0353dc4bf359bbba1c57f.tar.gz | |
Correctly handle special tags that also imply being hidden (!benchmark)
Diffstat (limited to 'include')
| -rw-r--r-- | include/internal/catch_test_case_info.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/catch_test_case_info.cpp b/include/internal/catch_test_case_info.cpp index 9c707307..a811f1df 100644 --- a/include/internal/catch_test_case_info.cpp +++ b/include/internal/catch_test_case_info.cpp @@ -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 ); |