diff options
| author | Phil Nash | 2013-06-28 16:05:13 +0100 |
|---|---|---|
| committer | Phil Nash | 2013-06-28 16:05:13 +0100 |
| commit | 9c39a5e8dd4b071b9287c70949f6f7e1e0309146 (patch) | |
| tree | d096ade2054b653b64424aadb040923de679adae /include | |
| parent | 235204393a45900a9f8d92f14eaaf287b9f178ec (diff) | |
| download | catch3-9c39a5e8dd4b071b9287c70949f6f7e1e0309146.tar.gz | |
Support [.] as alias for [hide]
Diffstat (limited to 'include')
| -rw-r--r-- | include/internal/catch_test_case_info.hpp | 2 |
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 ); |