git/t/unit-tests
René Scharfe 9ddec6b79a t-strvec: use if_test
The macro TEST takes a single expression.  If a test requires multiple
statements then they need to be placed in a function that's called in
the TEST expression.

Remove the cognitive overhead of defining and calling single-use
functions by using if_test instead.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-07-30 13:32:44 -07:00
..
.gitignore
lib-oid.c
lib-oid.h
t-ctype.c t-ctype: use if_test 2024-07-30 13:32:43 -07:00
t-example-decorate.c
t-hash.c
t-mem-pool.c
t-oidmap.c
t-oidtree.c
t-prio-queue.c
t-reftable-basics.c t-reftable-basics: use if_test 2024-07-30 13:32:44 -07:00
t-reftable-record.c
t-strbuf.c
t-strcmp-offset.c
t-strvec.c t-strvec: use if_test 2024-07-30 13:32:44 -07:00
t-trailer.c
test-lib.c unit-tests: add if_test 2024-07-30 13:32:43 -07:00
test-lib.h unit-tests: add if_test 2024-07-30 13:32:43 -07:00