Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorPhil Nash2017-08-05 22:24:17 +0100
committerPhil Nash2017-08-05 22:24:17 +0100
commitcff3818e68158275d4d0353dc4bf359bbba1c57f (patch)
tree7ba6ee076470d23aa5c8b198c7e971282af788ee /include
parent519db85758220faa34b587249c335dcc79b0192a (diff)
downloadcatch3-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.cpp2
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 );