summaryrefslogtreecommitdiff
path: root/tests/refs/update.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-01-17 00:32:31 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2019-01-17 10:32:29 +0000
commited8cfbf04181d6fc229582a09c5c7657a53cd2e3 (patch)
treeb0c4c06caecb92b497fef1567fe44f1808a00e7c /tests/refs/update.c
parent87fe57889192e8c83d8da8eb916b31bed6931a89 (diff)
downloadlibgit2-ethomson/git_ref.tar.gz
references: use new names in internal usageethomson/git_ref
Update internal usage to use the `git_reference` names for constants.
Diffstat (limited to 'tests/refs/update.c')
-rw-r--r--tests/refs/update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/refs/update.c b/tests/refs/update.c
index 403ea75b8..1c5127d9e 100644
--- a/tests/refs/update.c
+++ b/tests/refs/update.c
@@ -19,7 +19,7 @@ void test_refs_update__updating_the_target_of_a_symref_with_an_invalid_name_retu
git_reference *head;
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_i(GIT_REFERENCE_SYMBOLIC, git_reference_type(head));
git_reference_free(head);
cl_assert_equal_i(GIT_EINVALIDSPEC, git_reference_symbolic_create(&head, g_repo, GIT_HEAD_FILE, "refs/heads/inv@{id", 1, NULL));