diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-09-22 13:19:53 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-22 16:22:41 -0700 |
commit | 2e54907e83febc637484255491c6a65b004fd648 (patch) | |
tree | 496655b46b281ae8da7d59104eab6f7289ebc368 /git-curl-compat.h | |
parent | test-lib tests: assert 1 exit code, not non-zero (diff) | |
download | tgif-2e54907e83febc637484255491c6a65b004fd648.tar.xz |
test-lib tests: get rid of copy/pasted mock test code
Now that we've split up the write_sub_test_lib_test*() and
run_sub_test_lib_test*() functions let's fix those tests in
t0000-basic.sh that were verbosely copy/pasting earlier tests.
That we caught all of them was asserted with a follow-up change that's
not part of this series[1], we might add such a duplication check at
some later time, but for now let's just one-off remove the duplicate
boilerplate.
1. https://lore.kernel.org/git/patch-v3-6.9-bc79b29f3c-20210805T103237Z-avarab@gmail.com/
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-curl-compat.h')
0 files changed, 0 insertions, 0 deletions