git/t/unit-tests
Chandra Pratap b942fda670 t-reftable-record: add tests for reftable_log_record_compare_key()
reftable_log_record_compare_key() is a function defined by
reftable/record.{c, h} and is used to compare the keys of two
log records when sorting multiple log records using 'qsort'.
In the current testing setup, this function is left unexercised.
Add a testing function for the same.

Mentored-by: Patrick Steinhardt <ps@pks.im>
Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Chandra Pratap <chandrapratap3519@gmail.com>
Acked-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-07-02 08:12:26 -07:00
..
.gitignore
t-ctype.c t-ctype: avoid duplicating class names 2024-03-03 09:47:33 -08:00
t-example-decorate.c t/: migrate helper/test-example-decorate to the unit testing framework 2024-05-28 13:53:36 -07:00
t-hash.c t/: migrate helper/test-{sha1, sha256} to unit-tests/t-hash 2024-05-29 09:11:41 -07:00
t-mem-pool.c
t-prio-queue.c t-prio-queue: simplify using compound literals 2024-04-02 13:41:32 -07:00
t-reftable-basics.c t: improve the test-case for parse_names() 2024-05-30 07:30:10 -07:00
t-reftable-record.c t-reftable-record: add tests for reftable_log_record_compare_key() 2024-07-02 08:12:26 -07:00
t-strbuf.c
t-strcmp-offset.c t/: port helper/test-strcmp-offset.c to unit-tests/t-strcmp-offset.c 2024-05-20 13:39:49 -07:00
t-strvec.c t-strvec: mark variable-arg helper with LAST_ARG_MUST_BE_NULL 2024-05-30 08:55:29 -07:00
t-trailer.c trailer unit tests: inspect iterator contents 2024-05-02 09:57:08 -07:00
test-lib.c strvec: add functions to replace and remove strings 2024-05-27 11:20:02 -07:00
test-lib.h strvec: add functions to replace and remove strings 2024-05-27 11:20:02 -07:00