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

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorMartin Hořeňovský2017-08-27 16:45:53 +0200
committerMartin Hořeňovský2017-08-27 16:45:53 +0200
commit8f6d6a4a2daa7f7157dda2032e39bdd30dabe58f (patch)
treef9e0c408e4d4dd10d5c5386d65ba87185f053857 /include
parente8d3be3621241531a146571d55d7e181b1251e31 (diff)
downloadcatch3-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.cpp4
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( "." );
}