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

Function TestCleanNotFullyMergedMissingRemoteBranch

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

Source from the content-addressed store, hash-verified

506}
507
508func TestCleanNotFullyMergedMissingRemoteBranch(t *testing.T) {
509 _, configuration := setup(t)
510 start(configuration)
511
512 createFile(t, "example.txt", "contentIrrelevant")
513
514 next(configuration)
515
516 git("push", "origin", "mob-session", "--delete")
517
518 clean(configuration)
519
520 assertOnBranch(t, "master")
521 assertNoLocalBranch(t, "mob-session")
522}
523
524func TestCleanFeatureOrphanWipBranch(t *testing.T) {
525 _, configuration := setup(t)

Callers

nothing calls this directly

Calls 8

setupFunction · 0.85
startFunction · 0.85
createFileFunction · 0.85
nextFunction · 0.85
gitFunction · 0.85
cleanFunction · 0.85
assertOnBranchFunction · 0.85
assertNoLocalBranchFunction · 0.85

Tested by

no test coverage detected