]> git.99rst.org Git - git.git/commit
t-reftable-merged: add test for REFTABLE_FORMAT_ERROR
authorChandra Pratap <redacted>
Fri, 12 Jul 2024 05:39:03 +0000 (11:09 +0530)
committerJunio C Hamano <redacted>
Fri, 12 Jul 2024 16:55:41 +0000 (09:55 -0700)
commit9a1fb8af9887c99420f41a36667e4a7905d6266b
tree0105f790401a215311bde707ecc24840a12121e6
parent40c80eab83f3f7eae4be14cccf756c0a89931b59
t-reftable-merged: add test for REFTABLE_FORMAT_ERROR

When calling reftable_new_merged_table(), if the hash ID of the
passed reftable_table parameter doesn't match the passed hash_id
parameter, a REFTABLE_FORMAT_ERROR is thrown. This case is
currently left unexercised, so add a test for the same.

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