![]() 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> |
||
---|---|---|
.. | ||
.gitignore | ||
lib-oid.c | ||
lib-oid.h | ||
t-ctype.c | ||
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-record.c | ||
t-strbuf.c | ||
t-strcmp-offset.c | ||
t-strvec.c | ||
t-trailer.c | ||
test-lib.c | ||
test-lib.h |