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:
authorRussell Belfer <arrbee@arrbee.com>2012-03-17 02:56:01 +0400
committerRussell Belfer <arrbee@arrbee.com>2012-03-17 02:56:01 +0400
commit0d0fa7c3681e4ef3d0452666a9bc97d4b08391c9 (patch)
tree5e03e03bf9dc2f6125f4fb450cd3239d882b824f /tests-clar/attr
parent4cfe2ab60b1e26554b2bf753b06f538cb3475bd0 (diff)
Convert attr, ignore, mwindow, status to new errors
Also cleaned up some previously converted code that still had little things to polish.
Diffstat (limited to 'tests-clar/attr')
-rw-r--r--tests-clar/attr/repo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests-clar/attr/repo.c b/tests-clar/attr/repo.c
index 4de4afaa7..5ff33d14a 100644
--- a/tests-clar/attr/repo.c
+++ b/tests-clar/attr/repo.c
@@ -72,9 +72,9 @@ void test_attr_repo__get_one(void)
attr_check_expected(scan->expected, scan->expected_str, value);
}
- cl_git_pass(git_attr_cache__is_cached(g_repo, ".git/info/attributes"));
- cl_git_pass(git_attr_cache__is_cached(g_repo, ".gitattributes"));
- cl_git_pass(git_attr_cache__is_cached(g_repo, "sub/.gitattributes"));
+ cl_assert(git_attr_cache__is_cached(g_repo, ".git/info/attributes"));
+ cl_assert(git_attr_cache__is_cached(g_repo, ".gitattributes"));
+ cl_assert(git_attr_cache__is_cached(g_repo, "sub/.gitattributes"));
}
void test_attr_repo__get_many(void)
@@ -114,7 +114,7 @@ static int count_attrs(
*((int *)payload) += 1;
- return GIT_SUCCESS;
+ return 0;
}
void test_attr_repo__foreach(void)