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

We use "test-tool string-list split_in_place" to test the
"string_list_split_in_place" 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