<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t/unit-tests/u-strcmp-offset.c, branch v2.52.0</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.52.0</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.52.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2025-01-31T22:58:45Z</updated>
<entry>
<title>t/unit-tests: convert strcmp-offset test to use clar test framework</title>
<updated>2025-01-31T22:58:45Z</updated>
<author>
<name>Seyi Kuforiji</name>
<email>kuforiji98@gmail.com</email>
</author>
<published>2025-01-31T22:14:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=af8bf677c150144166454f311642825a0b08e506'/>
<id>urn:sha1:af8bf677c150144166454f311642825a0b08e506</id>
<content type='text'>
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 &lt;ps@pks.im&gt;
Signed-off-by: Seyi Kuforiji &lt;kuforiji98@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
