diff options
author | Seyi Kuforiji <kuforiji98@gmail.com> | 2025-01-17 13:29:25 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-01-17 14:35:12 -0800 |
commit | 8b702f93dd4d239acd07f9a4991be3297ef333c9 (patch) | |
tree | 6195f0965e28930d19e19a84992451b2af95429e /builtin/commit.c | |
parent | c143dfa7ed4115d1fd7d23150a0314768377f108 (diff) |
t/unit-tests: adapt priority queue test to use clar test framework
Convert the prio-queue test script to clar framework by using clar
assertions where necessary. Test functions are created as a standalone
to test different cases.
update the type of the variable `j` from int to `size_t`, this ensures
compatibility with the type used for result_size, which is also size_t,
preventing a potential warning or error caused by comparisons between
signed and unsigned integers.
Mentored-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Seyi Kuforiji <kuforiji98@gmail.com>
Acked-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions