Skip to content

Commit 2596bef

Browse files
Seyi007gitster
authored andcommitted
t/unit-tests: convert reftable record test to use clar
Adapt reftable record test file to use clar by using clar assertions where necessary. Signed-off-by: Seyi Kuforiji <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ee0a88d commit 2596bef

File tree

3 files changed

+131
-122
lines changed

3 files changed

+131
-122
lines changed

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1383,7 +1383,6 @@ CLAR_TEST_OBJS += $(UNIT_TEST_DIR)/unit-test.o
13831383
CLAR_TEST_OBJS += $(UNIT_TEST_DIR)/lib-oid.o
13841384
CLAR_TEST_OBJS += $(UNIT_TEST_DIR)/lib-reftable-clar.o
13851385

1386-
UNIT_TEST_PROGRAMS += t-reftable-record
13871386
UNIT_TEST_PROGRAMS += t-reftable-stack
13881387
UNIT_TEST_PROGS = $(patsubst %,$(UNIT_TEST_BIN)/%$X,$(UNIT_TEST_PROGRAMS))
13891388
UNIT_TEST_OBJS += $(UNIT_TEST_DIR)/test-lib.o

t/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ clar_test_suites = [
1313
'unit-tests/u-reftable-merged.c',
1414
'unit-tests/u-reftable-pq.c',
1515
'unit-tests/u-reftable-readwrite.c',
16+
'unit-tests/u-reftable-record.c',
1617
'unit-tests/u-reftable-table.c',
1718
'unit-tests/u-reftable-tree.c',
1819
'unit-tests/u-strbuf.c',
@@ -61,7 +62,6 @@ clar_unit_tests = executable('unit-tests',
6162
test('unit-tests', clar_unit_tests)
6263

6364
unit_test_programs = [
64-
'unit-tests/t-reftable-record.c',
6565
'unit-tests/t-reftable-stack.c',
6666
]
6767

0 commit comments

Comments
 (0)