Skip to content

Commit

Permalink
Fixed testlib patch
Browse files Browse the repository at this point in the history
  • Loading branch information
cip999 committed Jan 5, 2023
1 parent 7785d40 commit 82ca695
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions p2d/generate_testlib_for_domjudge.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ def generate_testlib_for_domjudge(dst_path):
lines = replace_exit_code(lines, exit_code, NEW_EXIT_CODES[exit_code])
lines = replace_function(lines, NEW_REGISTER_INTERACTION)
lines = replace_function(lines, NEW_REGISTER_TESTLIB_CMD)
lines = [line for line in lines if line.strip() != 'skipBom();']

with open(dst_path, 'w') as f:
for line in lines:
Expand Down

0 comments on commit 82ca695

Please sign in to comment.