]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t/unit-tests: fix typos
authorAndrew Kreimer <algonell@gmail.com>
Thu, 10 Oct 2024 15:11:24 +0000 (18:11 +0300)
committerJunio C Hamano <gitster@pobox.com>
Thu, 10 Oct 2024 20:31:13 +0000 (13:31 -0700)
Fix typos via codespell.

Signed-off-by: Andrew Kreimer <algonell@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/unit-tests/t-reftable-basics.c
t/unit-tests/t-reftable-merged.c

index e5556ebf527331e231d82bf6d28cf81ccb13780f..a9a9f888a484fb29e9e475dde65992ba93f8cd54 100644 (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);
        }
index 19e54bdfb8b5ead3929299220e52d59dd13804a1..109d3b07a741d70817c1c343c24420188eb5ff2a 100644 (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();
 }