(t *testing.T)
| 544 | } |
| 545 | |
| 546 | func TestStartUnstagedChanges(t *testing.T) { |
| 547 | output, configuration := setup(t) |
| 548 | configuration.HandleUncommittedChanges = config.FailWithError |
| 549 | createFile(t, "test.txt", "contentIrrelevant") |
| 550 | |
| 551 | start(configuration) |
| 552 | |
| 553 | assertOnBranch(t, "master") |
| 554 | assertNoMobSessionBranches(t, configuration, "mob-session") |
| 555 | assertOutputContains(t, output, "mob start --include-uncommitted-changes") |
| 556 | assertOutputContains(t, output, "mob start --discard-uncommitted-changes") |
| 557 | } |
| 558 | |
| 559 | func TestStartIncludeUnstagedChanges(t *testing.T) { |
| 560 | _, configuration := setup(t) |
nothing calls this directly
no test coverage detected