Commit 32beb2ecfe5b09acf0640b5f6ccfc1d035cc2142

Ben Straub 2012-07-27T20:36:12

Fix testrepo ref count to include new branch.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests-clar/refs/list.c b/tests-clar/refs/list.c
index 2a7b157..ac3cc00 100644
--- a/tests-clar/refs/list.c
+++ b/tests-clar/refs/list.c
@@ -36,7 +36,7 @@ void test_refs_list__all(void)
 	/* We have exactly 9 refs in total if we include the packed ones:
 	 * there is a reference that exists both in the packfile and as
 	 * loose, but we only list it once */
-	cl_assert(ref_list.count == 9);
+	cl_assert_equal_i(ref_list.count, 10);
 
 	git_strarray_free(&ref_list);
 }