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

parse_names() and names_equal() are functions defined in
reftable/basics.{c, h}. Move the tests for these functions from
reftable/stack_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/stack_test.c
t/unit-tests/t-reftable-basics.c