diff options
author | Ben Straub <bs@github.com> | 2012-11-19 08:38:08 +0400 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2012-11-28 01:17:45 +0400 |
commit | 2508cc66eb91597b12dc19721d9cea1f06e72107 (patch) | |
tree | 89e0ec2a924d9dc6b66461f462afbb999045ad27 /tests-clar/clone | |
parent | 469827812f95e979e3c6468567b2c9ed138a9849 (diff) |
Rename ref and reflog apis for consistency
Diffstat (limited to 'tests-clar/clone')
-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); |