aboutsummaryrefslogtreecommitdiff
path: root/t/unit-tests
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2024-10-25 14:02:04 -0400
committerTaylor Blau <me@ttaylorr.com>2024-10-25 14:02:04 -0400
commit4d334e5205f547be7913901d0cf529477e993f26 (patch)
treee8c8fb86a1cd8efcfcca331bdf8666c9b66cbaae /t/unit-tests
parent55bc7d54ab403af274f2bd7058305e0d5a2fdd4f (diff)
parent41869f7447a5b9e904aaa9aa5b77e7ce49b7292a (diff)
downloadgit-4d334e5205f547be7913901d0cf529477e993f26.tar.xz
Merge branch 'ak/typofixes'
Typofixes. * ak/typofixes: t: fix typos t/helper: fix a typo t/perf: fix typos t/unit-tests: fix typos contrib: fix typos compat: fix typos
Diffstat (limited to 't/unit-tests')
-rw-r--r--t/unit-tests/t-reftable-basics.c2
-rw-r--r--t/unit-tests/t-reftable-merged.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/t/unit-tests/t-reftable-basics.c b/t/unit-tests/t-reftable-basics.c
index 1fa77b6faf..a344b27fa3 100644
--- a/t/unit-tests/t-reftable-basics.c
+++ b/t/unit-tests/t-reftable-basics.c
@@ -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);
}
diff --git a/t/unit-tests/t-reftable-merged.c b/t/unit-tests/t-reftable-merged.c
index 3c84363e98..97d28bffe4 100644
--- a/t/unit-tests/t-reftable-merged.c
+++ b/t/unit-tests/t-reftable-merged.c
@@ -467,7 +467,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();
}