]> git.99rst.org Git - git.git/commit
t: move tests from reftable/record_test.c to the new unit test
authorChandra Pratap <redacted>
Wed, 29 May 2024 16:59:29 +0000 (22:29 +0530)
committerJunio C Hamano <redacted>
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 <redacted>
Mentored-by: Christian Couder <redacted>
Signed-off-by: Chandra Pratap <redacted>
Signed-off-by: Junio C Hamano <redacted>
reftable/record_test.c
t/unit-tests/t-reftable-basics.c
git clone https://git.99rst.org/PROJECT