diff --git a/scripts/approvalTests.py b/scripts/approvalTests.py index 6e1558dd..550605fa 100755 --- a/scripts/approvalTests.py +++ b/scripts/approvalTests.py @@ -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: