(t *testing.T)
| 443 | } |
| 444 | |
| 445 | func TestResetDeleteRemoteWipBranchCommit(t *testing.T) { |
| 446 | _, configuration := setup(t) |
| 447 | configuration.ResetDeleteRemoteWipBranch = true |
| 448 | start(configuration) |
| 449 | createFile(t, "example.txt", "contentIrrelevant") |
| 450 | next(configuration) |
| 451 | assertMobSessionBranches(t, configuration, "mob-session") |
| 452 | |
| 453 | reset(configuration) |
| 454 | |
| 455 | assertOnBranch(t, "master") |
| 456 | assertNoMobSessionBranches(t, configuration, "mob-session") |
| 457 | } |
| 458 | |
| 459 | func TestResetCommitBranch(t *testing.T) { |
| 460 | output, configuration := setup(t) |
nothing calls this directly
no test coverage detected