]> git.ipfire.org Git - thirdparty/git.git/commit
test-lib: use $1, not $@ in test_known_broken_{ok,failure}_
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Wed, 27 Jul 2022 23:13:29 +0000 (01:13 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Jul 2022 23:35:39 +0000 (16:35 -0700)
commit6d00680de2c8a517f2b6b5853588786ed92fae93
treead8f6b41376588a32046370fdae5848de5e63066
parent6a475b71f8c4ce708d69fdc9317aefbde3769e25
test-lib: use $1, not $@ in test_known_broken_{ok,failure}_

Clarify that these two functions never take N arguments, they'll only
ever receive one. They've needlessly used $@ over $1 since
41ac414ea2b (Sane use of test_expect_failure, 2008-02-01).

In the future we might want to pass the test source to these, but now
that's not the case. This preparatory change helps to clarify a
follow-up change.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh