diff options
| author | Martin Hořeňovský | 2017-08-27 16:45:53 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2017-08-27 16:45:53 +0200 |
| commit | 8f6d6a4a2daa7f7157dda2032e39bdd30dabe58f (patch) | |
| tree | f9e0c408e4d4dd10d5c5386d65ba87185f053857 /include | |
| parent | e8d3be3621241531a146571d55d7e181b1251e31 (diff) | |
| download | catch3-8f6d6a4a2daa7f7157dda2032e39bdd30dabe58f.tar.gz | |
Remove legacy [hide] tag
Also removed even legacier "./" prefix for test case name...
Diffstat (limited to 'include')
| -rw-r--r-- | include/internal/catch_test_case_info.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/internal/catch_test_case_info.cpp b/include/internal/catch_test_case_info.cpp index a811f1df..d97b5996 100644 --- a/include/internal/catch_test_case_info.cpp +++ b/include/internal/catch_test_case_info.cpp @@ -20,7 +20,6 @@ namespace Catch { TestCaseInfo::SpecialProperties parseSpecialTag( std::string const& tag ) { if( startsWith( tag, '.' ) || - tag == "hide" || tag == "!hide" ) return TestCaseInfo::IsHidden; else if( tag == "!throws" ) @@ -52,7 +51,7 @@ namespace Catch { std::string const& _descOrTags, SourceLineInfo const& _lineInfo ) { - bool isHidden( startsWith( _name, "./" ) ); // Legacy support + bool isHidden = false; // Parse out tags std::vector<std::string> tags; @@ -83,7 +82,6 @@ namespace Catch { } } if( isHidden ) { - tags.push_back( "hide" ); tags.push_back( "." ); } |