Convert more tests to new build.

This commit is contained in:
Brad Nelson
2024-01-15 11:37:13 -08:00
parent b5aec80fd2
commit 8aff943a00
5 changed files with 33 additions and 4 deletions

View File

@ -27,3 +27,7 @@ if not source.strip().endswith('--> 123'):
print('MISSING EXPECTED OUTPUT')
print(source)
sys.exit(1)
if len(sys.argv) > 1:
with open(sys.argv[1], 'w') as fh:
fh.write(source)