summaryrefslogtreecommitdiff
path: root/tests-clar/refs/branches/remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests-clar/refs/branches/remote.c')
-rw-r--r--tests-clar/refs/branches/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/refs/branches/remote.c b/tests-clar/refs/branches/remote.c
index 5272d1236..2beef3724 100644
--- a/tests-clar/refs/branches/remote.c
+++ b/tests-clar/refs/branches/remote.c
@@ -42,7 +42,7 @@ void test_refs_branches_remote__insufficient_buffer_returns_error(void)
cl_git_fail_with(git_branch_remote_name(remotename,
expected_remote_name_length - 1, g_repo, remote_tracking_branch_name),
- GIT_ERROR);
+ expected_remote_name_length);
}
void test_refs_branches_remote__no_matching_remote_returns_error(void)