diff options
Diffstat (limited to 'tests/remote/list.c')
-rw-r--r-- | tests/remote/list.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/remote/list.c b/tests/remote/list.c index 5abb95106..4a6be3d1b 100644 --- a/tests/remote/list.c +++ b/tests/remote/list.c @@ -25,17 +25,17 @@ void test_remote_list__always_checks_disk_config(void) cl_git_pass(git_remote_list(&remotes, _repo)); cl_assert_equal_sz(remotes.count, 1); - git_strarray_free(&remotes); + git_strarray_dispose(&remotes); cl_git_pass(git_remote_create(&remote, _repo, "valid-name", TEST_URL)); cl_git_pass(git_remote_list(&remotes, _repo)); cl_assert_equal_sz(remotes.count, 2); - git_strarray_free(&remotes); + git_strarray_dispose(&remotes); cl_git_pass(git_remote_list(&remotes, repo)); cl_assert_equal_sz(remotes.count, 2); - git_strarray_free(&remotes); + git_strarray_dispose(&remotes); git_repository_free(repo); git_remote_free(remote); |