]> git.99rst.org Git - git.git/commit
tests: simplify by dropping unnecessary `for` loops
authorEric Sunshine <redacted>
Thu, 9 Dec 2021 05:11:11 +0000 (00:11 -0500)
committerJunio C Hamano <redacted>
Mon, 13 Dec 2021 18:29:48 +0000 (10:29 -0800)
commitefe26b9ee09d53dda0f36d0ea20cb245b934f216
treed5daf1aaf168c03129ef8b63cc1375cba959bdd2
parent03949e33f58223dd2d8465f4dd8042e5e581fcef
tests: simplify by dropping unnecessary `for` loops

Rather than manually looping over a set of items and plugging those
items into a template string which is printed repeatedly, achieve the
same effect by taking advantage of `printf` which loops over its
arguments automatically.

Signed-off-by: Eric Sunshine <redacted>
Reviewed-by: Elijah Newren <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t3005-ls-files-relative.sh
t/t3600-rm.sh
t/t4025-hunk-header.sh
t/t4125-apply-ws-fuzz.sh
t/t6416-recursive-corner-cases.sh
t/t7110-reset-merge.sh
t/t9400-git-cvsserver-server.sh
git clone https://git.99rst.org/PROJECT