mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Fixed test spec parser issue
- multiple specs in a single string, with escapes in each were erroring out
This commit is contained in:
		| @@ -97,7 +97,7 @@ namespace Catch { | ||||
|         void addPattern() { | ||||
|             std::string token = subString(); | ||||
|             for( size_t i = 0; i < m_escapeChars.size(); ++i ) | ||||
|                 token = token.substr( 0, m_escapeChars[i]-i ) + token.substr( m_escapeChars[i]+1-i ); | ||||
|                 token = token.substr( 0, m_escapeChars[i]-m_start-i ) + token.substr( m_escapeChars[i]-m_start-i+1 ); | ||||
|             m_escapeChars.clear(); | ||||
|             if( startsWith( token, "exclude:" ) ) { | ||||
|                 m_exclusion = true; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash