Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Brute force casing

Commit
0e805512e54a33b77a9dd6f5d4c1cbe315448e6d
Author
Martin Hořeňovský ·
Parents
52f3abadbb2d

Files · Download .tar.gz

Changes

 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: