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

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorPhil Nash2013-06-28 16:05:13 +0100
committerPhil Nash2013-06-28 16:05:13 +0100
commit9c39a5e8dd4b071b9287c70949f6f7e1e0309146 (patch)
treed096ade2054b653b64424aadb040923de679adae /include
parent235204393a45900a9f8d92f14eaaf287b9f178ec (diff)
downloadcatch3-9c39a5e8dd4b071b9287c70949f6f7e1e0309146.tar.gz
Support [.] as alias for [hide]
Diffstat (limited to 'include')
-rw-r--r--include/internal/catch_test_case_info.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/catch_test_case_info.hpp b/include/internal/catch_test_case_info.hpp
index d3a2719b..99f05efe 100644
--- a/include/internal/catch_test_case_info.hpp
+++ b/include/internal/catch_test_case_info.hpp
@@ -25,7 +25,7 @@ namespace Catch {
bool isHidden( startsWith( _name, "./" ) );
std::set<std::string> tags;
TagExtracter( tags ).parse( desc );
- if( tags.find( "hide" ) != tags.end() )
+ if( tags.find( "hide" ) != tags.end() || tags.find( "." ) != tags.end() )
isHidden = true;
TestCaseInfo info( _name, _className, desc, tags, isHidden, _lineInfo );