MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / TestRemoveWipPrefix

Function TestRemoveWipPrefix

mob_test.go:68–74  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

66}
67
68func 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
76func TestRemoveWipBranchQualifier(t *testing.T) {
77 var configuration config.Configuration

Callers

nothing calls this directly

Calls 3

equalsFunction · 0.85
newBranchFunction · 0.85
removeWipPrefixMethod · 0.80

Tested by

no test coverage detected