summaryrefslogtreecommitdiff
path: root/tests/libgit2/refs/basic.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libgit2/refs/basic.c')
-rw-r--r--tests/libgit2/refs/basic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libgit2/refs/basic.c b/tests/libgit2/refs/basic.c
index 32742f9cc..18ba9376d 100644
--- a/tests/libgit2/refs/basic.c
+++ b/tests/libgit2/refs/basic.c
@@ -53,7 +53,7 @@ void test_refs_basic__longpaths(void)
git_reference *one = NULL, *two = NULL;
git_oid id;
- cl_git_pass(git_oid_fromstr(&id, "099fabac3a9ea935598528c27f866e34089c2eff"));
+ cl_git_pass(git_oid_fromstr(&id, "099fabac3a9ea935598528c27f866e34089c2eff", GIT_OID_SHA1));
base = git_repository_path(g_repo);
base_len = git_utf8_char_length(base, strlen(base));