<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t/unit-tests/u-oid-array.c, branch jch</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=jch</id>
<link rel='self' href='https://git.shady.money/git/atom?h=jch'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2025-02-25T18:31:22Z</updated>
<entry>
<title>t/unit-tests: convert oid-array test to use clar test framework</title>
<updated>2025-02-25T18:31:22Z</updated>
<author>
<name>Seyi Kuforiji</name>
<email>kuforiji98@gmail.com</email>
</author>
<published>2025-02-25T10:10:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=869a1edf4470fab379fdead671036d6906112da2'/>
<id>urn:sha1:869a1edf4470fab379fdead671036d6906112da2</id>
<content type='text'>
Adapt oid-array test script to clar framework by using clar assertions
where necessary. Remove descriptions from macros to reduce
redundancy, and move test input arrays to global scope for reuse across
multiple test functions. Introduce `test_oid_array__initialize()` to
explicitly initialize the hash algorithm.

These changes streamline the test suite, making individual tests
self-contained and reducing redundant code.

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>
