Skip to content

Commit a1e5e26

Browse files
authored
Merge pull request libgit2#5836 from tniessen/tests-var-name-list-c
tests: fix variable name in list.c
2 parents 9f295e2 + 52447c5 commit a1e5e26

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/object/tag/list.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ static void ensure_tag_pattern_match(git_repository *repo,
2020
int already_found[MAX_USED_TAGS] = { 0 };
2121
git_strarray tag_list;
2222
int error = 0;
23-
size_t sucessfully_found = 0;
23+
size_t successfully_found = 0;
2424
size_t i, j;
2525

2626
cl_assert(data->expected_matches <= MAX_USED_TAGS);
@@ -42,12 +42,12 @@ static void ensure_tag_pattern_match(git_repository *repo,
4242
if (!already_found[j] && !strcmp(data->expected_results[j], tag_list.strings[i]))
4343
{
4444
already_found[j] = 1;
45-
sucessfully_found++;
45+
successfully_found++;
4646
break;
4747
}
4848
}
4949
}
50-
cl_assert_equal_i((int)sucessfully_found, (int)data->expected_matches);
50+
cl_assert_equal_i((int)successfully_found, (int)data->expected_matches);
5151

5252
exit:
5353
git_strarray_dispose(&tag_list);

0 commit comments

Comments
 (0)