(t *testing.T)
| 522 | } |
| 523 | |
| 524 | func 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 | |
| 536 | func TestCleanMissingBaseBranch(t *testing.T) { |
| 537 | _, configuration := setup(t) |
nothing calls this directly
no test coverage detected