summaryrefslogtreecommitdiff
path: root/tests/object/blob/fromstream.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2018-11-28 14:26:57 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2018-12-01 11:54:57 +0000
commit168fe39bea3368972a8b1a33d5908e73bc790c18 (patch)
treec6d07340e2d8d2d66091c44c7763f3e1823acca2 /tests/object/blob/fromstream.c
parent18e71e6d597abe6c7feb666429c921bd19dc0ba8 (diff)
downloadlibgit2-ethomson/index_fixes.tar.gz
object_type: use new enumeration namesethomson/index_fixes
Use the new object_type enumeration names within the codebase.
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);
}