diff options
Diffstat (limited to 'tests/checkout/checkout_helpers.c')
-rw-r--r-- | tests/checkout/checkout_helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkout/checkout_helpers.c b/tests/checkout/checkout_helpers.c index cecee6aae..8256644db 100644 --- a/tests/checkout/checkout_helpers.c +++ b/tests/checkout/checkout_helpers.c @@ -10,7 +10,7 @@ void assert_on_branch(git_repository *repo, const char *branch) git_buf bname = GIT_BUF_INIT; cl_git_pass(git_reference_lookup(&head, repo, GIT_HEAD_FILE)); - cl_assert_(git_reference_type(head) == GIT_REF_SYMBOLIC, branch); + cl_assert_(git_reference_type(head) == GIT_REFERENCE_SYMBOLIC, branch); cl_git_pass(git_buf_joinpath(&bname, "refs/heads", branch)); cl_assert_equal_s(bname.ptr, git_reference_symbolic_target(head)); |