]> git.ipfire.org Git - thirdparty/git.git/commit
u-string-list: move "filter string" test to "u-string-list.c"
authorshejialuo <shejialuo@gmail.com>
Sun, 29 Jun 2025 04:28:32 +0000 (12:28 +0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Jul 2025 15:07:46 +0000 (08:07 -0700)
commit7e7ce7826534142c069758c13b2d308e901138c0
tree5ce555b132b845338cc3388884073f49a340651b
parent62c514a9efd2206e081509ca3abc9cd5645eff0b
u-string-list: move "filter string" test to "u-string-list.c"

We use "test-tool string-list filter" to test the "filter_string_list"
function. As we have introduced the unit test, we'd better remove the
logic from shell script to C program to improve test speed and
readability.

Signed-off-by: shejialuo <shejialuo@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/helper/test-string-list.c
t/t0063-string-list.sh
t/unit-tests/u-string-list.c