diff options
author | Russell Belfer <arrbee@arrbee.com> | 2012-03-17 02:56:01 +0400 |
---|---|---|
committer | Russell Belfer <arrbee@arrbee.com> | 2012-03-17 02:56:01 +0400 |
commit | 0d0fa7c3681e4ef3d0452666a9bc97d4b08391c9 (patch) | |
tree | 5e03e03bf9dc2f6125f4fb450cd3239d882b824f /tests-clar/attr | |
parent | 4cfe2ab60b1e26554b2bf753b06f538cb3475bd0 (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.c | 8 |
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) |