]> Kevux Git Server - rit/commit
test-lib tests: don't provide a description for the sub-tests
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Wed, 22 Sep 2021 11:19:49 +0000 (13:19 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Sep 2021 23:22:41 +0000 (16:22 -0700)
commitc3ff7be6fb04c3150a8496271901a4a918c2c70c
tree77774ae5191d341970fc7caa4e3b1b396e9037e5
parent9f0a45208dbc488da790d0f2ef1491eb2aa858c2
test-lib tests: don't provide a description for the sub-tests

Change the $test_description provided for the generated subtests to be
constant, since the only purpose of having it is that test-lib.sh will
barf if it isn't supplied.

The other purpose of having it was to effectively split up the test
description between the argument to test_expect_success and the
argument to "write_and_run_sub_test_lib_test". Let's only use one of
the two.

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