summaryrefslogtreecommitdiff
path: root/t/t6500-gc.sh
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-02-12 13:29:42 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-02-12 19:58:21 (GMT)
commite7884b353b7f3b61c2b8ace086bc7e030946e270 (patch)
tree743dbe4777add1d47ce731ff233155ed6b89a1a0 /t/t6500-gc.sh
parent45a2686441b0ea53ad9acef8b01dad2efdd98a90 (diff)
downloadgit-e7884b353b7f3b61c2b8ace086bc7e030946e270.zip
git-e7884b353b7f3b61c2b8ace086bc7e030946e270.tar.gz
git-e7884b353b7f3b61c2b8ace086bc7e030946e270.tar.bz2
test-lib-functions: assert correct parameter count
Add assertions of the correct parameter count of various functions, in particularly the wrappers for the shell "test" built-in. In an earlier commit we fixed a bug with an incorrect number of arguments being passed to "test_path_is_{file,missing}". Let's also guard other similar functions from the same sort of misuse. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6500-gc.sh')
0 files changed, 0 insertions, 0 deletions