diff options
| author | Chandra Pratap <chandrapratap3519@gmail.com> | 2024-07-02 12:52:15 +0530 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-07-02 08:12:24 -0700 |
| commit | 9008b8a6e8c0c96bbe9bb2ebb4842c89eca39f6d (patch) | |
| tree | 1e87a0eb0eeb34b932fd61cb12858d41f7e7008d /t/unit-tests/t-reftable-basics.c | |
| parent | ba9661b457effa34b6f6188e10546d00e4a49d54 (diff) | |
| download | git-9008b8a6e8c0c96bbe9bb2ebb4842c89eca39f6d.tar.gz | |
t-reftable-record: add reftable_record_cmp() tests for log records
In the current testing setup for log records, only
reftable_log_record_equal() among log record's comparison functions
is tested.
Modify the existing tests to exercise reftable_log_record_cmp_void()
(using the wrapper function reftable_record_cmp()) alongside
reftable_log_record_equal().
Note that to achieve this, we'll need to replace instances of
reftable_log_record_equal() with the wrapper function
reftable_record_equal().
Rename the now modified test to reflect its nature of exercising
all comparison operations, not just equality.
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>
Diffstat (limited to 't/unit-tests/t-reftable-basics.c')
0 files changed, 0 insertions, 0 deletions
