(t *testing.T, configuration config.Configuration, branchName string)
| 2317 | } |
| 2318 | |
| 2319 | func assertNoMobSessionBranches(t *testing.T, configuration config.Configuration, branchName string) { |
| 2320 | branch := newBranch(branchName) |
| 2321 | if branch.hasRemoteBranch(configuration) { |
| 2322 | failWithFailure(t, "none", branch.remote(configuration).Name) |
| 2323 | } |
| 2324 | if branch.hasLocalBranch() { |
| 2325 | failWithFailure(t, "none", branchName) |
| 2326 | } |
| 2327 | } |
| 2328 | |
| 2329 | func assertGitStatus(t *testing.T, expected map[string]string) { |
| 2330 | equals(t, expected, gitStatus()) |
no test coverage detected