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

Function TestCleanFeatureOrphanWipBranch

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

Source from the content-addressed store, hash-verified

522}
523
524func TestCleanFeatureOrphanWipBranch(t *testing.T) {
525 _, configuration := setup(t)
526 git("checkout", "-b", "feature1")
527 git("push", "origin", "feature1", "--set-upstream")
528 git("checkout", "-b", "mob/feature1")
529
530 clean(configuration)
531
532 assertOnBranch(t, "feature1")
533 assertNoLocalBranch(t, "mob/feature1")
534}
535
536func TestCleanMissingBaseBranch(t *testing.T) {
537 _, configuration := setup(t)

Callers

nothing calls this directly

Calls 5

setupFunction · 0.85
gitFunction · 0.85
cleanFunction · 0.85
assertOnBranchFunction · 0.85
assertNoLocalBranchFunction · 0.85

Tested by

no test coverage detected