summaryrefslogtreecommitdiff
path: root/tests/index/tests.c
diff options
context:
space:
mode:
authorDimitris Apostolou <dimitris.apostolou@icloud.com>2022-01-05 12:18:05 +0200
committerDimitris Apostolou <dimitris.apostolou@icloud.com>2022-01-05 16:35:52 +0200
commit90df43022a011f23f13b7a77a956e3f64e4134a5 (patch)
treeb7a0a0e24c5dae8bdb277954c33f75d822503af6 /tests/index/tests.c
parent82f526a9129373d899782c411774c8e396cae4e4 (diff)
downloadlibgit2-90df43022a011f23f13b7a77a956e3f64e4134a5.tar.gz
Fix typos
Diffstat (limited to 'tests/index/tests.c')
-rw-r--r--tests/index/tests.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/index/tests.c b/tests/index/tests.c
index b6715574e..205d12e5b 100644
--- a/tests/index/tests.c
+++ b/tests/index/tests.c
@@ -200,14 +200,14 @@ void test_index_tests__write(void)
void test_index_tests__sort0(void)
{
- /* sort the entires in an index */
+ /* sort the entries in an index */
/*
* TODO: This no longer applies:
* index sorting in Git uses some specific changes to the way
* directories are sorted.
*
- * We need to specificially check for this by creating a new
+ * We need to specifically check for this by creating a new
* index, adding entries in random order and then
* checking for consistency
*/
@@ -215,7 +215,7 @@ void test_index_tests__sort0(void)
void test_index_tests__sort1(void)
{
- /* sort the entires in an empty index */
+ /* sort the entries in an empty index */
git_index *index;
cl_git_pass(git_index_open(&index, "fake-index"));
@@ -242,7 +242,7 @@ void test_index_tests__add(void)
cl_set_cleanup(&cleanup_myrepo, NULL);
- /* Intialize a new repository */
+ /* Initialize a new repository */
cl_git_pass(git_repository_init(&repo, "./myrepo", 0));
/* Ensure we're the only guy in the room */
@@ -293,7 +293,7 @@ void test_index_tests__add_frombuffer(void)
cl_set_cleanup(&cleanup_myrepo, NULL);
- /* Intialize a new repository */
+ /* Initialize a new repository */
cl_git_pass(git_repository_init(&repo, "./myrepo", 0));
/* Ensure we're the only guy in the room */
@@ -435,7 +435,7 @@ void test_index_tests__add_frombuffer_reset_entry(void)
cl_set_cleanup(&cleanup_myrepo, NULL);
- /* Intialize a new repository */
+ /* Initialize a new repository */
cl_git_pass(git_repository_init(&repo, "./myrepo", 0));
cl_git_pass(git_repository_index(&index, repo));
cl_git_pass(git_futils_mkpath2file("myrepo/test.txt", 0777));