Skip to content

Commit

Permalink
Fix incorrect call to must_exist. There's no message argument if it f…
Browse files Browse the repository at this point in the history
…ails
  • Loading branch information
bdbaddog committed Nov 4, 2021
1 parent a0549a1 commit d187236
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/ninja/ninja_handle_control_c_rebuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,8 @@
test.must_contain_all(
test.stderr(), "ninja: error: rebuilding 'build.ninja': interrupted by user")

test.must_exist(
'build.ninja', "Rebuilding build.ninja and sending control-c to ninja doesn't preserve build.ninja")

# Verify that Rebuilding build.ninja and sending control-c to ninja doesn't remove build.ninja
test.must_exist('build.ninja')
test.pass_test()

# Local Variables:
Expand Down

0 comments on commit d187236

Please sign in to comment.