mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-25 04:23:30 +01:00
Brute force casing
This commit is contained in:
parent
52f3abadbb
commit
0e805512e5
@ -92,9 +92,10 @@ def diffFiles(fileA, fileB):
|
||||
|
||||
|
||||
def normalizeFilepath(line):
|
||||
if catchPathSymbolic in line:
|
||||
if catchPathSymbolic in line or catchPathSymbolic.lower() in line:
|
||||
# make paths relative to Catch root
|
||||
line = line.replace(catchPathSymbolic + os.sep, '')
|
||||
line = line.replace(catchPathSymbolic.lower() + os.sep, '')
|
||||
|
||||
m = langFilenameParser.match(line)
|
||||
if m:
|
||||
|
Loading…
Reference in New Issue
Block a user