mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 12:17:11 +01:00 
			
		
		
		
	Minor tidy up
This commit is contained in:
		| @@ -72,7 +72,7 @@ namespace Catch { | ||||
|             return ""; | ||||
|         }         | ||||
|     } | ||||
|      | ||||
|  | ||||
|     inline size_t registerTestMethods() { | ||||
|         size_t noTestMethods = 0; | ||||
|         int noClasses = objc_getClassList( NULL, 0 ); | ||||
|   | ||||
| @@ -53,11 +53,11 @@ namespace Catch { | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|             if( m_stringToMatch[0] == '*' ) { | ||||
|             if( startsWith( m_stringToMatch, "*" ) ) { | ||||
|                 m_stringToMatch = m_stringToMatch.substr( 1 ); | ||||
|                 m_wildcardPosition = (WildcardPosition)( m_wildcardPosition | WildcardAtStart ); | ||||
|             } | ||||
|             if( m_stringToMatch[m_stringToMatch.size()-1] == '*' ) { | ||||
|             if( endsWith( m_stringToMatch, "*" ) ) { | ||||
|                 m_stringToMatch = m_stringToMatch.substr( 0, m_stringToMatch.size()-1 ); | ||||
|                 m_wildcardPosition = (WildcardPosition)( m_wildcardPosition | WildcardAtEnd ); | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash