diff options
Diffstat (limited to 'tests-clar/clone/network.c')
-rw-r--r-- | tests-clar/clone/network.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests-clar/clone/network.c b/tests-clar/clone/network.c index def5214c3..4759b607a 100644 --- a/tests-clar/clone/network.c +++ b/tests-clar/clone/network.c @@ -74,7 +74,7 @@ void test_clone_network__empty_repository(void) cl_git_pass(git_reference_lookup(&head, g_repo, GIT_HEAD_FILE)); cl_assert_equal_i(GIT_REF_SYMBOLIC, git_reference_type(head)); - cl_assert_equal_s("refs/heads/master", git_reference_target(head)); + cl_assert_equal_s("refs/heads/master", git_reference_symbolic_target(head)); git_reference_free(head); } @@ -129,7 +129,7 @@ void test_clone_network__can_checkout_a_cloned_repo(void) cl_git_pass(git_reference_lookup(&head, g_repo, "HEAD")); cl_assert_equal_i(GIT_REF_SYMBOLIC, git_reference_type(head)); - cl_assert_equal_s("refs/heads/master", git_reference_target(head)); + cl_assert_equal_s("refs/heads/master", git_reference_symbolic_target(head)); cl_assert_equal_i(true, checkout_progress_cb_was_called); cl_assert_equal_i(true, fetch_progress_cb_was_called); |