(t *testing.T, branch string, qualifier string, branches []string, expectedBase string, expectedWip string)
| 58 | } |
| 59 | |
| 60 | func assertDetermineBranches(t *testing.T, branch string, qualifier string, branches []string, expectedBase string, expectedWip string) { |
| 61 | configuration := config.GetDefaultConfiguration() |
| 62 | configuration.WipBranchQualifier = qualifier |
| 63 | baseBranch, wipBranch := determineBranches(newBranch(branch), branches, configuration) |
| 64 | equals(t, newBranch(expectedBase), baseBranch) |
| 65 | equals(t, newBranch(expectedWip), wipBranch) |
| 66 | } |
| 67 | |
| 68 | func TestRemoveWipPrefix(t *testing.T) { |
| 69 | configuration := config.GetDefaultConfiguration() |
no test coverage detected