From 0e805512e54a33b77a9dd6f5d4c1cbe315448e6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Fri, 19 Jul 2019 13:29:16 +0200 Subject: [PATCH] Brute force casing --- scripts/approvalTests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: