]> git.ipfire.org Git - thirdparty/git.git/commit
t: move reftable/basics_test.c to the unit testing framework
authorChandra Pratap <chandrapratap3519@gmail.com>
Wed, 29 May 2024 16:59:27 +0000 (22:29 +0530)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 May 2024 14:30:10 +0000 (07:30 -0700)
commitb34116a30ce5ae19e303725d6e1fd0f558d36dce
tree6de3ee1094caaabd8786dc7a8b454818bc41813e
parent786a3e4b8d754d2b14b1208b98eeb0a554ef19a8
t: move reftable/basics_test.c to the unit testing framework

reftable/basics_test.c exercise the functions defined in
reftable/basics.{c, h}. Migrate reftable/basics_test.c to the
unit testing framework. Migration involves refactoring the tests
to use the unit testing framework instead of reftable's test
framework.

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>
Makefile
t/helper/test-reftable.c
t/unit-tests/t-reftable-basics.c [moved from reftable/basics_test.c with 65% similarity]