(t *testing.T)
| 356 | } |
| 357 | |
| 358 | func TestStartJoinDoesNotWarn(t *testing.T) { |
| 359 | output, configuration := setup(t) |
| 360 | |
| 361 | start(configuration) |
| 362 | createFileAndCommitIt(t, "example.txt", "asdf", "asdf") |
| 363 | next(configuration) |
| 364 | |
| 365 | setWorkingDir(tempDir + "/localother") |
| 366 | start(configuration) |
| 367 | |
| 368 | assertOutputNotContains(t, output, "Careful, your wip branch (mob-session) diverges from your main branch (origin/master) !") |
| 369 | } |
| 370 | |
| 371 | func TestStartNextOnFeatureWithBranch(t *testing.T) { |
| 372 | _, configuration := setup(t) |
nothing calls this directly
no test coverage detected