summaryrefslogtreecommitdiff
path: root/tests/t0103-objhash.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t0103-objhash.c')
-rw-r--r--tests/t0103-objhash.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/t0103-objhash.c b/tests/t0103-objhash.c
index 83131fe4c..8d0ba903e 100644
--- a/tests/t0103-objhash.c
+++ b/tests/t0103-objhash.c
@@ -52,7 +52,7 @@ static unsigned char commit_data[] = {
0x3e, 0x0a,
};
-static git_obj commit_obj = {
+static git_rawobj commit_obj = {
commit_data,
sizeof(commit_data),
GIT_OBJ_COMMIT
@@ -79,7 +79,7 @@ static unsigned char tree_data[] = {
0xd8, 0xc2, 0xe4, 0x8c, 0x53, 0x91,
};
-static git_obj tree_obj = {
+static git_rawobj tree_obj = {
tree_data,
sizeof(tree_data),
GIT_OBJ_TREE
@@ -112,7 +112,7 @@ static unsigned char tag_data[] = {
0x2e, 0x30, 0x2e, 0x31, 0x0a,
};
-static git_obj tag_obj = {
+static git_rawobj tag_obj = {
tag_data,
sizeof(tag_data),
GIT_OBJ_TAG
@@ -124,7 +124,7 @@ static unsigned char zero_data[] = {
0x00 /* dummy data */
};
-static git_obj zero_obj = {
+static git_rawobj zero_obj = {
zero_data,
0,
GIT_OBJ_BLOB
@@ -136,7 +136,7 @@ static unsigned char one_data[] = {
0x0a,
};
-static git_obj one_obj = {
+static git_rawobj one_obj = {
one_data,
sizeof(one_data),
GIT_OBJ_BLOB
@@ -148,7 +148,7 @@ static unsigned char two_data[] = {
0x61, 0x0a,
};
-static git_obj two_obj = {
+static git_rawobj two_obj = {
two_data,
sizeof(two_data),
GIT_OBJ_BLOB
@@ -306,13 +306,13 @@ static unsigned char some_data[] = {
0x0a,
};
-static git_obj some_obj = {
+static git_rawobj some_obj = {
some_data,
sizeof(some_data),
GIT_OBJ_BLOB
};
-static git_obj junk_obj = {
+static git_rawobj junk_obj = {
NULL,
0,
GIT_OBJ_BAD