summaryrefslogtreecommitdiff
path: root/tests/test_helpers.c
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2010-12-03 18:01:30 +0200
committerVicent Marti <tanoku@gmail.com>2010-12-06 01:14:15 +0200
commit7d7cd8857a451ff50b126e452bcbdc0fb397db35 (patch)
treec9ddb750041ef6d22e8fef955df71dd6e7f2973f /tests/test_helpers.c
parent86bfec39b55c00ef499e635fdbdca7946c55fcde (diff)
downloadlibgit2-7d7cd8857a451ff50b126e452bcbdc0fb397db35.tar.gz
Decouple storage from ODB logic
Comes with two default backends: loose object and packfiles. Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'tests/test_helpers.c')
-rw-r--r--tests/test_helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_helpers.c b/tests/test_helpers.c
index 86192233a..cd14c0e29 100644
--- a/tests/test_helpers.c
+++ b/tests/test_helpers.c
@@ -125,7 +125,7 @@ int remove_loose_object(const char *repository_folder, git_object *object)
int cmp_objects(git_rawobj *o, object_data *d)
{
- if (o->type != git_obj_string_to_type(d->type))
+ if (o->type != git_otype_fromstring(d->type))
return -1;
if (o->len != d->dlen)
return -1;