Small fix for run.py

This commit is contained in:
dario 2024-02-07 18:51:08 +01:00
parent ccfc354c8f
commit 90cc3dba58

2
run.py
View File

@ -22,7 +22,7 @@ path = 'Tasty/src/cases/'
for case in os.listdir(path):
# Find the number of the test case.
match = re.match('case([0-9])+\.cpp', case)
match = re.match('case([0-9]+)\.cpp', case)
number = match.group(1)
with open('Tasty/include/sta/tasty/config.hpp', 'w') as f: