t/unit-tests: fix typos

Fix typos via codespell.

Signed-off-by: Andrew Kreimer <algonell@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Andrew Kreimer
2024-10-10 18:11:24 +03:00
committed by Junio C Hamano
parent f5dedddb75
commit ca2746b791
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ int cmd_main(int argc UNUSED, const char *argv[] UNUSED)
}
}
if_test ("names_length retuns size of a NULL-terminated string array") {
if_test ("names_length returns size of a NULL-terminated string array") {
const char *a[] = { "a", "b", NULL };
check_int(names_length(a), ==, 2);
}

View File

@ -459,7 +459,7 @@ int cmd_main(int argc UNUSED, const char *argv[] UNUSED)
TEST(t_merged_logs(), "merged table with multiple log updates for same ref");
TEST(t_merged_refs(), "merged table with multiple updates to same ref");
TEST(t_merged_seek_multiple_times(), "merged table can seek multiple times");
TEST(t_merged_single_record(), "ref ocurring in only one record can be fetched");
TEST(t_merged_single_record(), "ref occurring in only one record can be fetched");
return test_done();
}