summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2024-03-16 21:45:51 +0100
committerJunio C Hamano <gitster@pobox.com>2024-03-18 09:24:50 -0700
commite6f9cb76ea14b955fb7b4fcb8dea0786b5b108d3 (patch)
tree76b3f11b092ebebe42bbd3ffb8e925c2345a168e /builtin/commit.c
parent2953d95d402b6bff1a59c4712f4d46f1b9ea137f (diff)
t-prio-queue: shorten array index message
If we get an unexpected result, the prio-queue unit test reports it like this: # check "result[j++] == show(get)" failed at t/unit-tests/t-prio-queue.c:43 # left: 5 # right: 1 # failed at result[] index 0 That last line repeats "failed" and "result" from the first line. Shorten it to resemble a similar one in t-ctype and also remove the incrementation from the first line to avoid possible distractions from the message of which comparison went wrong where: # check "result[j] == show(get)" failed at t/unit-tests/t-prio-queue.c:43 # left: 5 # right: 1 # j: 0 Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions