Skip to content

Commit ca2746b

Browse files
algonellgitster
authored andcommitted
t/unit-tests: fix typos
Fix typos via codespell. Signed-off-by: Andrew Kreimer <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f5deddd commit ca2746b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

t/unit-tests/t-reftable-basics.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ int cmd_main(int argc UNUSED, const char *argv[] UNUSED)
5454
}
5555
}
5656

57-
if_test ("names_length retuns size of a NULL-terminated string array") {
57+
if_test ("names_length returns size of a NULL-terminated string array") {
5858
const char *a[] = { "a", "b", NULL };
5959
check_int(names_length(a), ==, 2);
6060
}

t/unit-tests/t-reftable-merged.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ int cmd_main(int argc UNUSED, const char *argv[] UNUSED)
459459
TEST(t_merged_logs(), "merged table with multiple log updates for same ref");
460460
TEST(t_merged_refs(), "merged table with multiple updates to same ref");
461461
TEST(t_merged_seek_multiple_times(), "merged table can seek multiple times");
462-
TEST(t_merged_single_record(), "ref ocurring in only one record can be fetched");
462+
TEST(t_merged_single_record(), "ref occurring in only one record can be fetched");
463463

464464
return test_done();
465465
}

0 commit comments

Comments
 (0)