mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-24 06:16:10 +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):
|
def normalizeFilepath(line):
|
||||||
if catchPathSymbolic in line:
|
if catchPathSymbolic in line or catchPathSymbolic.lower() in line:
|
||||||
# make paths relative to Catch root
|
# make paths relative to Catch root
|
||||||
line = line.replace(catchPathSymbolic + os.sep, '')
|
line = line.replace(catchPathSymbolic + os.sep, '')
|
||||||
|
line = line.replace(catchPathSymbolic.lower() + os.sep, '')
|
||||||
|
|
||||||
m = langFilenameParser.match(line)
|
m = langFilenameParser.match(line)
|
||||||
if m:
|
if m:
|
||||||
|
Loading…
Reference in New Issue
Block a user