Skip to content

Commit

Permalink
update regex in problems to match new file patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
felixschurk committed Apr 29, 2024
1 parent f8f72a7 commit 18802ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/problems
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ if __name__ == "__main__":
unexpected = defaultdict(int)
passed = defaultdict(int)

file = re.compile(r"^# (?:./)?(\S+\.t)(?:\.exe)?$")
file = re.compile(r"^# (?:./)?(\S+\.test)(?:\.py|\.cpp)?$")
timestamp = re.compile(r"^# (\d+(?:\.\d+)?) ==>.*$")

expected_fail = re.compile(r"^not ok.*?#\s*TODO", re.I)
Expand Down

0 comments on commit 18802ec

Please sign in to comment.