From cff3818e68158275d4d0353dc4bf359bbba1c57f Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Sat, 5 Aug 2017 22:24:17 +0100 Subject: [PATCH] Correctly handle special tags that also imply being hidden (!benchmark) --- include/internal/catch_test_case_info.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );