summaryrefslogtreecommitdiff
path: root/builtin/commit-tree.c
diff options
context:
space:
mode:
authorSeyi Kuforiji <kuforiji98@gmail.com>2025-01-31 23:14:20 +0100
committerJunio C Hamano <gitster@pobox.com>2025-01-31 14:58:45 -0800
commitaf8bf677c150144166454f311642825a0b08e506 (patch)
tree8d574ecf86a1d65f0b52199cb8b40415f2da0a80 /builtin/commit-tree.c
parent4b995465b2ed97cb6df5d48bcb843f7f631627bf (diff)
t/unit-tests: convert strcmp-offset test to use clar test framework
Adapt strcmp-offset test script to clar framework by using clar assertions where necessary. Introduce `test_strcmp_offset__empty()` to verify `check_strcmp_offset()` behavior when both input strings are empty. This ensures the function correctly handles edge cases and returns expected values. Mentored-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Seyi Kuforiji <kuforiji98@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions