diff options
Diffstat (limited to 'tests/libgit2/status/single.c')
-rw-r--r-- | tests/libgit2/status/single.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libgit2/status/single.c b/tests/libgit2/status/single.c index e7f92097c..a95d3d09c 100644 --- a/tests/libgit2/status/single.c +++ b/tests/libgit2/status/single.c @@ -17,7 +17,7 @@ void test_status_single__hash_single_file(void) git_oid expected_id, actual_id; /* initialization */ - git_oid_fromstr(&expected_id, file_hash); + git_oid_fromstr(&expected_id, file_hash, GIT_OID_SHA1); cl_git_mkfile(file_name, file_contents); cl_set_cleanup(&cleanup__remove_file, (void *)file_name); @@ -35,7 +35,7 @@ void test_status_single__hash_single_empty_file(void) git_oid expected_id, actual_id; /* initialization */ - git_oid_fromstr(&expected_id, file_hash); + git_oid_fromstr(&expected_id, file_hash, GIT_OID_SHA1); cl_git_mkfile(file_name, file_contents); cl_set_cleanup(&cleanup__remove_file, (void *)file_name); |