summaryrefslogtreecommitdiff
path: root/tests/object/blob/fromstream.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/object/blob/fromstream.c')
-rw-r--r--tests/object/blob/fromstream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/object/blob/fromstream.c b/tests/object/blob/fromstream.c
index 34b9f58d1..60090b6e4 100644
--- a/tests/object/blob/fromstream.c
+++ b/tests/object/blob/fromstream.c
@@ -27,7 +27,7 @@ void test_object_blob_fromstream__multiple_write(void)
cl_git_pass(git_oid_fromstr(&expected_id, "321cbdf08803c744082332332838df6bd160f8f9"));
cl_git_fail_with(GIT_ENOTFOUND,
- git_object_lookup(&blob, repo, &expected_id, GIT_OBJ_ANY));
+ git_object_lookup(&blob, repo, &expected_id, GIT_OBJECT_ANY));
cl_git_pass(git_blob_create_fromstream(&stream, repo, NULL));
@@ -37,7 +37,7 @@ void test_object_blob_fromstream__multiple_write(void)
cl_git_pass(git_blob_create_fromstream_commit(&id, stream));
cl_assert_equal_oid(&expected_id, &id);
- cl_git_pass(git_object_lookup(&blob, repo, &expected_id, GIT_OBJ_BLOB));
+ cl_git_pass(git_object_lookup(&blob, repo, &expected_id, GIT_OBJECT_BLOB));
git_object_free(blob);
}