diff --git a/run.py b/run.py index 5efa67e..d72bdf8 100644 --- a/run.py +++ b/run.py @@ -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: