diff options
Diffstat (limited to 'tests/pack/indexer.c')
-rw-r--r-- | tests/pack/indexer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pack/indexer.c b/tests/pack/indexer.c index 3a5021223..7b1daa984 100644 --- a/tests/pack/indexer.c +++ b/tests/pack/indexer.c @@ -156,7 +156,7 @@ void test_pack_indexer__fix_thin(void) cl_git_pass(git_repository_odb(&odb, repo)); /* Store the missing base into your ODB so the indexer can fix the pack */ - cl_git_pass(git_odb_write(&id, odb, base_obj, base_obj_len, GIT_OBJ_BLOB)); + cl_git_pass(git_odb_write(&id, odb, base_obj, base_obj_len, GIT_OBJECT_BLOB)); git_oid_fromstr(&should_id, "e68fe8129b546b101aee9510c5328e7f21ca1d18"); cl_assert_equal_oid(&should_id, &id); @@ -222,7 +222,7 @@ void test_pack_indexer__corrupt_length(void) cl_git_pass(git_repository_odb(&odb, repo)); /* Store the missing base into your ODB so the indexer can fix the pack */ - cl_git_pass(git_odb_write(&id, odb, base_obj, base_obj_len, GIT_OBJ_BLOB)); + cl_git_pass(git_odb_write(&id, odb, base_obj, base_obj_len, GIT_OBJECT_BLOB)); git_oid_fromstr(&should_id, "e68fe8129b546b101aee9510c5328e7f21ca1d18"); cl_assert_equal_oid(&should_id, &id); |