aboutsummaryrefslogtreecommitdiffstats
path: root/commit.c
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2020-07-07 02:04:36 -0400
committerJunio C Hamano <gitster@pobox.com>2020-07-07 13:07:27 -0700
commitc96050ff3442067e5848501f25f44a51606f0634 (patch)
tree6a7afe9e60728da7ab62c72f7148ae72c0a9a692 /commit.c
parentt5324: reorder `run_with_limited_open_files test_might_fail` (diff)
downloadgit-c96050ff3442067e5848501f25f44a51606f0634.tar.gz
git-c96050ff3442067e5848501f25f44a51606f0634.zip
t7107: don't use test_must_fail()
We had a `test_must_fail verify_expect`. However, the git command in verify_expect() was not expected to fail; the test_cmp() was the failing command. Be more precise about testing failure by accepting an optional first argument of '!' which causes the result of the file comparison to be negated. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions