diff options
author | Chandra Pratap <chandrapratap3519@gmail.com> | 2024-07-12 11:08:57 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-07-12 09:55:39 -0700 |
commit | 9cdfd1d7df81f911e8c4f120f3aaf1b0d981e8a1 (patch) | |
tree | 5514513e290235d75e080927c29d86ecf01601f6 /builtin/commit.c | |
parent | 06e570c0dfb2a2deb64d217db78e2ec21672f558 (diff) |
t: move reftable/merged_test.c to the unit testing framework
reftable/merged_test.c exercises the functions defined in
reftable/merged.{c, h}. Migrate reftable/merged_test.c to the unit
testing framework. Migration involves refactoring the tests
to use the unit testing framework instead of reftable's test
framework and renaming the tests according to unit-tests' naming
conventions.
Also, move strbuf_add_void() and noop_flush() from
reftable/test_framework.c to the ported test. This is because
both these functions are used in the merged tests and
reftable/test_framework.{c, h} is not #included in the 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>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions