diff options
Diffstat (limited to 'tests/commit')
-rw-r--r-- | tests/commit/write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/commit/write.c b/tests/commit/write.c index 2ba74ca9b..d829c973d 100644 --- a/tests/commit/write.c +++ b/tests/commit/write.c @@ -157,7 +157,7 @@ void test_commit_write__root(void) /* First we need to update HEAD so it points to our non-existant branch */ cl_git_pass(git_reference_lookup(&head, g_repo, "HEAD")); - cl_assert(git_reference_type(head) == GIT_REF_SYMBOLIC); + cl_assert(git_reference_type(head) == GIT_REFERENCE_SYMBOLIC); head_old = git__strdup(git_reference_symbolic_target(head)); cl_assert(head_old != NULL); git_reference_free(head); |