diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2019-01-17 00:32:31 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-01-17 10:32:29 +0000 |
commit | ed8cfbf04181d6fc229582a09c5c7657a53cd2e3 (patch) | |
tree | b0c4c06caecb92b497fef1567fe44f1808a00e7c /tests/network | |
parent | 87fe57889192e8c83d8da8eb916b31bed6931a89 (diff) | |
download | libgit2-ed8cfbf04181d6fc229582a09c5c7657a53cd2e3.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/network')
-rw-r--r-- | tests/network/fetchlocal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/network/fetchlocal.c b/tests/network/fetchlocal.c index 91e2a0595..bedbcf9e8 100644 --- a/tests/network/fetchlocal.c +++ b/tests/network/fetchlocal.c @@ -369,7 +369,7 @@ void test_network_fetchlocal__clone_into_mirror(void) cl_git_pass(git_clone(&repo, cl_git_fixture_url("testrepo.git"), "./foo.git", &opts)); cl_git_pass(git_reference_lookup(&ref, repo, "HEAD")); - cl_assert_equal_i(GIT_REF_SYMBOLIC, git_reference_type(ref)); + cl_assert_equal_i(GIT_REFERENCE_SYMBOLIC, git_reference_type(ref)); cl_assert_equal_s("refs/heads/master", git_reference_symbolic_target(ref)); git_reference_free(ref); |