diff options
| author | Vicent Martà <tanoku@gmail.com> | 2012-05-02 19:56:38 -0700 |
|---|---|---|
| committer | Vicent Martà <tanoku@gmail.com> | 2012-05-02 19:56:38 -0700 |
| commit | 3fbcac89c47cb66ea193f66da6d93d1c36ed0f5e (patch) | |
| tree | 1774677db7e5f0e33c3ab3967d64e2c95a631a5e /tests-clar/object/tree/frompath.c | |
| parent | b02bcd97f80beabc96cd1f861bfc3b5f7532ef8b (diff) | |
| download | libgit2-3fbcac89c47cb66ea193f66da6d93d1c36ed0f5e.tar.gz | |
Remove old and unused error codes
Diffstat (limited to 'tests-clar/object/tree/frompath.c')
| -rw-r--r-- | tests-clar/object/tree/frompath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/object/tree/frompath.c b/tests-clar/object/tree/frompath.c index d4075c0b4..ea0add37b 100644 --- a/tests-clar/object/tree/frompath.c +++ b/tests-clar/object/tree/frompath.c @@ -43,7 +43,7 @@ static void assert_tree_from_path(git_tree *root, const char *path, int expected static void assert_tree_from_path_klass(git_tree *root, const char *path, int expected_result, const char *expected_raw_oid) { assert_tree_from_path(root, path, GIT_ERROR, expected_raw_oid); - cl_assert(git_error_last()->klass == expected_result); + cl_assert(giterr_last()->klass == expected_result); } void test_object_tree_frompath__retrieve_tree_from_path_to_treeentry(void) |
