summaryrefslogtreecommitdiff
path: root/t/t4034/cpp/pre
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <derrickstolee@github.com>2022-03-25 19:02:47 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-25 13:15:01 -0700
commit16dcec218b68e2712aea361550435da1d92c38e9 (patch)
treedbbf83a6c86bce0315e936d9deee74fec08ba6e9 /t/t4034/cpp/pre
parentt7700: check post-condition in kept-pack test (diff)
downloadtgif-16dcec218b68e2712aea361550435da1d92c38e9.tar.xz
test-lib-functions: remove test_subcommand_inexact
The implementation of test_subcommand_inexact() was originally introduced in e4d0c11c0 (repack: respect kept objects with '--write-midx -b', 2021-12-20) with the intention to allow finding a subcommand based on an initial set of arguments. The inexactness was intended as a way to allow flexible options beyond that initial set, as opposed to test_subcommand() which requires that the full list of options is provided in its entirety. The implementation began by copying test_subcommand() and replaced the repeated argument 'printf' statement to append ".*" instead of "," to each argument. This caused it to be more flexible than initially intended. The previous change deleted the only use of test_subcommand_inexact, so instead of editing the helper, delete it. Helped-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Derrick Stolee <derrickstolee@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4034/cpp/pre')
0 files changed, 0 insertions, 0 deletions