summaryrefslogtreecommitdiff
path: root/tests-clar
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-02-14 21:23:11 +0100
committerVicent Martí <tanoku@gmail.com>2012-03-03 02:28:00 +0100
commit60bc2d20c40e37e92e4e15479ac4dccbde069bec (patch)
tree0c64df89b9cd66090e2c1665a9a21b19a7113a57 /tests-clar
parent845f8314e4a02cbd01b2e7d8a6d608d9e9a1334d (diff)
downloadlibgit2-60bc2d20c40e37e92e4e15479ac4dccbde069bec.tar.gz
error-handling: Add new routines
Obviously all the old throw routines are still in place, so we can gradually port over.
Diffstat (limited to 'tests-clar')
-rw-r--r--tests-clar/object/tree/frompath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/object/tree/frompath.c b/tests-clar/object/tree/frompath.c
index 3857d42a8..523a0b99e 100644
--- a/tests-clar/object/tree/frompath.c
+++ b/tests-clar/object/tree/frompath.c
@@ -24,7 +24,7 @@ void test_object_tree_frompath__cleanup(void)
cl_fixture_cleanup("testrepo.git");
}
-static void assert_tree_from_path(git_tree *root, const char *path, git_error expected_result, const char *expected_raw_oid)
+static void assert_tree_from_path(git_tree *root, const char *path, int expected_result, const char *expected_raw_oid)
{
git_tree *containing_tree = NULL;