]> git.99rst.org Git - git.git/commit
t-reftable-record: add comparison tests for index records
authorChandra Pratap <redacted>
Tue, 2 Jul 2024 07:22:17 +0000 (12:52 +0530)
committerJunio C Hamano <redacted>
Tue, 2 Jul 2024 15:12:25 +0000 (08:12 -0700)
commit85ca39e79b3fc3baed8ae218ac52af953121977a
treeba2bbd69567023116927744bc81c58669fbebe90
parentb7bbb58c14ba92dbfaeb4e995a61b633a8754194
t-reftable-record: add comparison tests for index records

In the current testing setup for index records, the comparison
functions for index records, reftable_index_record_cmp() and
reftable_index_record_equal() are left untested.

Add tests for the same by using the wrapper functions
reftable_record_cmp() and reftable_record_equal() for
reftable_index_record_cmp() and reftable_index_record_equal()
respectively.

Mentored-by: Patrick Steinhardt <redacted>
Mentored-by: Christian Couder <redacted>
Signed-off-by: Chandra Pratap <redacted>
Acked-by: Karthik Nayak <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/unit-tests/t-reftable-record.c
git clone https://git.99rst.org/PROJECT