diff options
author | Seyi Kuforiji <kuforiji98@gmail.com> | 2025-02-25 11:10:42 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-02-25 10:31:22 -0800 |
commit | 869a1edf4470fab379fdead671036d6906112da2 (patch) | |
tree | 6b9a4327e1f1650d4e436ea5cc469af36ccf2de7 /commit-graph.c | |
parent | a16a2ee312b088ae6ac2ab3302ed191d19a71718 (diff) |
t/unit-tests: convert oid-array test to use clar test framework
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 <ps@pks.im>
Signed-off-by: Seyi Kuforiji <kuforiji98@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions