X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=tests%2Fobject%2Ftag%2Flist.c;h=d15f09205c52c1f9b8a7c2fa858520faaf6c274c;hb=c25aa7cd825ba972c2a1a902c73ce3a8c8a59ec3;hp=8a1a2d26d2df36e66d0c63c55c3e0199eb77b12f;hpb=22a2d3d5efc740ba0dc69175b8bbb1e715e0257e;p=libgit2.git diff --git a/tests/object/tag/list.c b/tests/object/tag/list.c index 8a1a2d26d..d15f09205 100644 --- a/tests/object/tag/list.c +++ b/tests/object/tag/list.c @@ -20,7 +20,7 @@ static void ensure_tag_pattern_match(git_repository *repo, int already_found[MAX_USED_TAGS] = { 0 }; git_strarray tag_list; int error = 0; - size_t sucessfully_found = 0; + size_t successfully_found = 0; size_t i, j; cl_assert(data->expected_matches <= MAX_USED_TAGS); @@ -42,12 +42,12 @@ static void ensure_tag_pattern_match(git_repository *repo, if (!already_found[j] && !strcmp(data->expected_results[j], tag_list.strings[i])) { already_found[j] = 1; - sucessfully_found++; + successfully_found++; break; } } } - cl_assert_equal_i((int)sucessfully_found, (int)data->expected_matches); + cl_assert_equal_i((int)successfully_found, (int)data->expected_matches); exit: git_strarray_dispose(&tag_list);