(t *testing.T)
| 1579 | } |
| 1580 | |
| 1581 | func TestStartBranchWithUncommitedChangesFixWithBranch(t *testing.T) { |
| 1582 | output, _ := setup(t) |
| 1583 | mockExit() |
| 1584 | |
| 1585 | setWorkingDir(tempDir + "/local") |
| 1586 | |
| 1587 | createFile(t, "uncommited.txt", "contentIrrelevant") |
| 1588 | runMob(t, tempDir+"/local", "start", "-b", "green") |
| 1589 | |
| 1590 | assertOutputContains(t, output, "mob start --branch green --include-uncommitted-changes") |
| 1591 | assertOutputContains(t, output, "mob start --branch green --discard-uncommitted-changes") |
| 1592 | resetExit() |
| 1593 | } |
| 1594 | |
| 1595 | func TestStartBranchEnvWithUncommitedChangesFixWithoutBranch(t *testing.T) { |
| 1596 | output, _ := setup(t) |
nothing calls this directly
no test coverage detected