mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Remove legacy [hide] tag
Also removed even legacier "./" prefix for test case name...
This commit is contained in:
		| @@ -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( "." ); | ||||
|         } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský