(t *testing.T, commits int)
| 2172 | } |
| 2173 | |
| 2174 | func assertCommits(t *testing.T, commits int) { |
| 2175 | assertCommitsOnBranch(t, commits, "HEAD") |
| 2176 | } |
| 2177 | |
| 2178 | func assertCommitsOnBranch(t *testing.T, commits int, branchName string) { |
| 2179 | result := silentgit("rev-list", "--count", branchName) |
no test coverage detected