From 6725e09003c0544389c12af5cba49df81554f468 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Mon, 15 Dec 2014 07:07:59 +0000 Subject: [PATCH] any tag prefixed with . hides the test --- include/internal/catch_test_case_info.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/internal/catch_test_case_info.hpp b/include/internal/catch_test_case_info.hpp index b06c86fb..251b44c8 100644 --- a/include/internal/catch_test_case_info.hpp +++ b/include/internal/catch_test_case_info.hpp @@ -16,7 +16,7 @@ namespace Catch { inline TestCaseInfo::SpecialProperties parseSpecialTag( std::string const& tag ) { - if( tag == "." || + if( startsWith( tag, "." ) || tag == "hide" || tag == "!hide" ) return TestCaseInfo::IsHidden;