Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kelley <phkelley@hotmail.com>2012-11-29 17:22:15 +0400
committerPhilip Kelley <phkelley@hotmail.com>2012-11-29 17:22:15 +0400
commitac22d08f2fbe53c28a0f7dffcfa44c5408dcf78f (patch)
tree95ebc791ee8b7ee0edc1223011db550a8b2e3d0f /tests-clar/object/lookup.c
parent613d5eb9391d6cc33c91f4dc9cdb5ede1885dc72 (diff)
Remove git_object_oid2type
Diffstat (limited to 'tests-clar/object/lookup.c')
-rw-r--r--tests-clar/object/lookup.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests-clar/object/lookup.c b/tests-clar/object/lookup.c
index 47efe88cb..cfa6d4678 100644
--- a/tests-clar/object/lookup.c
+++ b/tests-clar/object/lookup.c
@@ -63,14 +63,3 @@ void test_object_lookup__lookup_wrong_type_eventually_returns_enotfound(void)
GIT_ENOTFOUND, git_object_lookup(&object, g_repo, &oid, GIT_OBJ_TAG));
}
-void test_object_lookup__lookup_object_type_by_oid(void)
-{
- const char *commit = "e90810b8df3e80c413d903f631643c716887138d";
- git_oid oid;
- git_otype type;
-
- cl_git_pass(git_oid_fromstr(&oid, commit));
-
- cl_git_pass(git_object_oid2type(&type, g_repo, &oid));
- cl_assert(type == GIT_OBJ_COMMIT);
-}