mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-30 19:57:10 +01:00 
			
		
		
		
	Fixed backslash detection in filenames-as-tags
This commit is contained in:
		| @@ -112,7 +112,7 @@ namespace Catch { | ||||
|             std::set<std::string> tags = test.tags; | ||||
|              | ||||
|             std::string filename = test.lineInfo.file; | ||||
|             std::string::size_type lastSlash = filename.find_last_of( "\//" ); | ||||
|             std::string::size_type lastSlash = filename.find_last_of( "\\/" ); | ||||
|             if( lastSlash != std::string::npos ) | ||||
|                 filename = filename.substr( lastSlash+1 ); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash