diff options
| author | Vicent Martà <tanoku@gmail.com> | 2012-05-18 01:48:50 +0200 |
|---|---|---|
| committer | Vicent Martà <tanoku@gmail.com> | 2012-05-18 01:48:50 +0200 |
| commit | 904b67e69fa15b7a3246e43b3d78645ffa2331f6 (patch) | |
| tree | 3be54c31248759ba27a08cef52558385116d9b19 /tests-clar/core | |
| parent | e172cf082e62aa421703080d0bccb7b8762c8bd4 (diff) | |
| download | libgit2-breaking-changes.tar.gz | |
errors: Rename error codesbreaking-changes
Diffstat (limited to 'tests-clar/core')
| -rw-r--r-- | tests-clar/core/path.c | 4 | ||||
| -rw-r--r-- | tests-clar/core/vector.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests-clar/core/path.c b/tests-clar/core/path.c index af8bf8127..d826612ac 100644 --- a/tests-clar/core/path.c +++ b/tests-clar/core/path.c @@ -413,8 +413,8 @@ void test_core_path__13_cannot_prettify_a_non_existing_file(void) git_buf p = GIT_BUF_INIT; cl_must_pass(git_path_exists(NON_EXISTING_FILEPATH) == false); - cl_assert_equal_i(GIT_NOTFOUND, git_path_prettify(&p, NON_EXISTING_FILEPATH, NULL)); - cl_assert_equal_i(GIT_NOTFOUND, git_path_prettify(&p, NON_EXISTING_FILEPATH "/so-do-i", NULL)); + cl_assert_equal_i(GIT_ENOTFOUND, git_path_prettify(&p, NON_EXISTING_FILEPATH, NULL)); + cl_assert_equal_i(GIT_ENOTFOUND, git_path_prettify(&p, NON_EXISTING_FILEPATH "/so-do-i", NULL)); git_buf_free(&p); } diff --git a/tests-clar/core/vector.c b/tests-clar/core/vector.c index 5b47dded2..ef3d6c36d 100644 --- a/tests-clar/core/vector.c +++ b/tests-clar/core/vector.c @@ -143,7 +143,7 @@ static int merge_structs(void **old_raw, void *new) ((my_struct *)old)->count += 1; git__free(new); _struct_count--; - return GIT_EXISTS; + return GIT_EEXISTS; } static my_struct *alloc_struct(int value) |
