Skip to content

Commit

Permalink
Refine test to work under Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
afd committed Sep 30, 2024
1 parent b2b05cb commit d82cb23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/bespoke/skip_bad_files/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def main():
# Dredd should return non-zero, due to 'bad1.c' and 'bad2.c'
assert result.returncode != 0
error_output = result.stderr.decode('utf-8')
pattern = "The following files were not mutated due to compile-time errors; see above for details:\n [^\s]+bad1\.c\n [^\s]+bad2\.c"
pattern = "The following files were not mutated due to compile-time errors; see above for details:\s+[^\s]+bad1\.c\s+[^\s]+bad2\.c"
match = re.search(pattern, error_output)
assert match is not None
dictionary = json.load(open('info.json'))
Expand Down

0 comments on commit d82cb23

Please sign in to comment.