mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-25 05:59:24 +00:00
Remove legacy [hide] tag
Also removed even legacier "./" prefix for test case name...
This commit is contained in:
parent
e8d3be3621
commit
8f6d6a4a2d
2 changed files with 2 additions and 4 deletions
|
@ -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( "." );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue