diff options
author | Chandra Pratap <chandrapratap3519@gmail.com> | 2024-07-12 11:09:03 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-07-12 09:55:41 -0700 |
commit | 9a1fb8af9887c99420f41a36667e4a7905d6266b (patch) | |
tree | 0105f790401a215311bde707ecc24840a12121e6 /builtin/commit.c | |
parent | 40c80eab83f3f7eae4be14cccf756c0a89931b59 (diff) |
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 <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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions