]> git.ipfire.org Git - thirdparty/git.git/commit
t-reftable-tree: add test for non-existent key
authorChandra Pratap <chandrapratap3519@gmail.com>
Sun, 4 Aug 2024 14:06:48 +0000 (19:36 +0530)
committerJunio C Hamano <gitster@pobox.com>
Sun, 4 Aug 2024 16:50:27 +0000 (09:50 -0700)
commitc70022c1b9b3a6ea4d4d3f4b54edf0d759e520e3
tree101e95fa0506e7629b6eeed2d3afe06ce6eda3ba
parentabf1a96773bfaee5e354909d3a6dc172bfbdee96
t-reftable-tree: add test for non-existent key

In the current testing setup for tree_search(), the case for
non-existent key is not exercised. Improve this by adding 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>
t/unit-tests/t-reftable-tree.c