summaryrefslogtreecommitdiff
path: root/tests/object
diff options
context:
space:
mode:
authorTobias Nießen <tniessen@users.noreply.github.com>2021-04-11 23:16:37 +0200
committerGitHub <noreply@github.com>2021-04-11 23:16:37 +0200
commit52447c5c95ee8d2834e42aa0c26cb47168e2cffa (patch)
tree20563b8235b8731cf17ae968eb6207faf73d33e4 /tests/object
parent34b9a04c77235dfc9401cb7ef8efc6c4ee7e99dd (diff)
downloadlibgit2-52447c5c95ee8d2834e42aa0c26cb47168e2cffa.tar.gz
tests: fix variable name in list.c
Diffstat (limited to 'tests/object')
-rw-r--r--tests/object/tag/list.c6
1 files changed, 3 insertions, 3 deletions
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);