summaryrefslogtreecommitdiff
path: root/commit-graph.c
diff options
context:
space:
mode:
authorSeyi Kuforiji <kuforiji98@gmail.com>2025-02-25 11:10:42 +0100
committerJunio C Hamano <gitster@pobox.com>2025-02-25 10:31:22 -0800
commit869a1edf4470fab379fdead671036d6906112da2 (patch)
tree6b9a4327e1f1650d4e436ea5cc469af36ccf2de7 /commit-graph.c
parenta16a2ee312b088ae6ac2ab3302ed191d19a71718 (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