(t *testing.T, branch string)
| 2275 | } |
| 2276 | |
| 2277 | func assertOnBranch(t *testing.T, branch string) { |
| 2278 | currentBranch := gitCurrentBranch() |
| 2279 | if currentBranch.Name != branch { |
| 2280 | failWithFailure(t, "on branch "+branch, "on branch "+currentBranch.String()) |
| 2281 | } |
| 2282 | } |
| 2283 | |
| 2284 | func assertOutputContains(t *testing.T, output *string, contains string) { |
| 2285 | currentOutput := *output |
no test coverage detected