(t *testing.T)
| 457 | } |
| 458 | |
| 459 | func TestResetCommitBranch(t *testing.T) { |
| 460 | output, configuration := setup(t) |
| 461 | configuration.WipBranchQualifier = "green" |
| 462 | start(configuration) |
| 463 | createFile(t, "example.txt", "contentIrrelevant") |
| 464 | next(configuration) |
| 465 | assertMobSessionBranches(t, configuration, "mob/master-green") |
| 466 | |
| 467 | reset(configuration) |
| 468 | |
| 469 | assertOutputContains(t, output, "mob reset --delete-remote-wip-branch") |
| 470 | assertMobSessionBranches(t, configuration, "mob/master-green") |
| 471 | } |
| 472 | |
| 473 | func TestResetDeleteRemoteWipBranchCommitBranch(t *testing.T) { |
| 474 | _, configuration := setup(t) |
nothing calls this directly
no test coverage detected