(t *testing.T)
| 66 | } |
| 67 | |
| 68 | func TestRemoveWipPrefix(t *testing.T) { |
| 69 | configuration := config.GetDefaultConfiguration() |
| 70 | configuration.WipBranchPrefix = "mob/" |
| 71 | equals(t, "master-green", newBranch("mob/master-green").removeWipPrefix(configuration).Name) |
| 72 | equals(t, "master-green-blue", newBranch("mob/master-green-blue").removeWipPrefix(configuration).Name) |
| 73 | equals(t, "main-branch", newBranch("mob/main-branch").removeWipPrefix(configuration).Name) |
| 74 | } |
| 75 | |
| 76 | func TestRemoveWipBranchQualifier(t *testing.T) { |
| 77 | var configuration config.Configuration |
nothing calls this directly
no test coverage detected