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

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 <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