summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2024-04-02 20:30:31 +0200
committerJunio C Hamano <gitster@pobox.com>2024-04-02 13:41:32 -0700
commit543b2a1083f0fca2eaae86bf8d359aa565981b97 (patch)
tree61de5f82cb1bd09dc1303d0b3e3aed3bbb135912 /builtin/commit.c
parentc2cbfbd2e28cbe27c194d62183b42f27a6a5bb87 (diff)
t-prio-queue: simplify using compound literals
Test names like "basic" are mentioned seven times in the code (ignoring case): Twice when defining the input and result macros, thrice when defining the test function, and twice again when calling it. Reduce that to a single time by using compound literals to pass the input and result arrays via TEST_INPUT to test_prio_queue(). 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