In the current testing setup for ref records, the comparison functions for ref records, reftable_ref_record_cmp_void() and reftable_ref_record_equal() are left untested. Add tests for the same by using the wrapper functions reftable_record_cmp() and reftable_record_equal() for reftable_ref_record_cmp_void() and reftable_ref_record_equal() respectively. 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> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| t-ctype.c | ||
| t-example-decorate.c | ||
| t-hash.c | ||
| t-mem-pool.c | ||
| t-prio-queue.c | ||
| t-reftable-basics.c | ||
| t-reftable-record.c | ||
| t-strbuf.c | ||
| t-strcmp-offset.c | ||
| t-strvec.c | ||
| t-trailer.c | ||
| test-lib.c | ||
| test-lib.h | ||