mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Restored tag parsing when checking for reserved tags
- had been accidentally deleted in an earlier refactoring. A bit worrying that this didn't get spotted sooner!
This commit is contained in:
		| @@ -30,7 +30,7 @@ namespace Catch { | ||||
|             return TestCaseInfo::None; | ||||
|     } | ||||
|     inline bool isReservedTag( std::string const& tag ) { | ||||
|         return TestCaseInfo::None && tag.size() > 0 && !isalnum( tag[0] ); | ||||
|         return parseSpecialTag( tag ) == TestCaseInfo::None && tag.size() > 0 && !isalnum( tag[0] ); | ||||
|     } | ||||
|     inline void enforceNotReservedTag( std::string const& tag, SourceLineInfo const& _lineInfo ) { | ||||
|         if( isReservedTag( tag ) ) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash