summaryrefslogtreecommitdiff
path: root/tests-clar/core/path.c
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-05-18 01:48:50 +0200
committerVicent Martí <tanoku@gmail.com>2012-05-18 01:48:50 +0200
commit904b67e69fa15b7a3246e43b3d78645ffa2331f6 (patch)
tree3be54c31248759ba27a08cef52558385116d9b19 /tests-clar/core/path.c
parente172cf082e62aa421703080d0bccb7b8762c8bd4 (diff)
downloadlibgit2-breaking-changes.tar.gz
errors: Rename error codesbreaking-changes
Diffstat (limited to 'tests-clar/core/path.c')
-rw-r--r--tests-clar/core/path.c4
1 files changed, 2 insertions, 2 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);
}