diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-05-16 04:26:44 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-05-16 18:13:55 +0200 |
commit | c205923649568dee9c543d5b7f040d2c660a2272 (patch) | |
tree | f0aca429d2d37d64b08f0b62fe44eedd9e8cf6e2 /t/test-binary-1.png | |
parent | Git 2.41-rc0 (diff) | |
download | git-c205923649568dee9c543d5b7f040d2c660a2272.tar.xz git-c205923649568dee9c543d5b7f040d2c660a2272.zip |
tests: do not negate test_path_exists
As a way to assert the path 'foo' is missing, "! test_path_exists
foo" is a poor way to do so, as the helper is designed to complain
when 'foo' is missing, but the intention of the author who used
negated form was to make sure it does not exist. This does not
help debugging the tests.
Use test_path_is_missing instead, which is a more appropriate helper.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/test-binary-1.png')
0 files changed, 0 insertions, 0 deletions