summaryrefslogtreecommitdiff
path: root/t/unit-tests/t-oid-array.c
diff options
context:
space:
mode:
authorChandra Pratap <chandrapratap3519@gmail.com>2024-08-13 20:04:50 +0530
committerJunio C Hamano <gitster@pobox.com>2024-08-13 10:08:03 -0700
commit5e440bf7f1884e79f345225e55fbe3ccabf42b5a (patch)
treed5c2d075518c4cb4caf299287272279131a93b3a /t/unit-tests/t-oid-array.c
parent12f9ea473f00384147e334ff1f05c8f3b2fe1a78 (diff)
t-reftable-readwrite: add test for known error
When using reftable_writer_add_ref() to add a ref record to a reftable writer, The update_index of the ref record must be within the limits set by reftable_writer_set_limits(), or REFTABLE_API_ERROR is returned. This scenario is currently left untested. Add a test case 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> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests/t-oid-array.c')
0 files changed, 0 insertions, 0 deletions