aboutsummaryrefslogtreecommitdiffstats
path: root/t/unit-tests/u-strcmp-offset.c
AgeCommit message (Collapse)AuthorFilesLines
2025-01-31t/unit-tests: convert strcmp-offset test to use clar test frameworkSeyi Kuforiji1-0/+45
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>