]> git.ipfire.org Git - thirdparty/git.git/commit
t: move tests from reftable/record_test.c to the new unit test
authorChandra Pratap <chandrapratap3519@gmail.com>
Wed, 29 May 2024 16:59:29 +0000 (22:29 +0530)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 May 2024 14:30:10 +0000 (07:30 -0700)
commitafe5b9e7ec6dcc92751cae7f58a37457e3da96ac
treedbd01fc34bd30a815eea3231869197ab4c45782b
parentf74e1865fe3fd0de573da03ecd0b9efdcb95c672
t: move tests from reftable/record_test.c to the new unit test

common_prefix_size(), get_be24() and put_be24() are functions defined
in reftable/basics.{c, h}. Move the tests for these functions from
reftable/record_test.c to the newly ported test.

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>
reftable/record_test.c
t/unit-tests/t-reftable-basics.c