(t *testing.T)
| 1767 | } |
| 1768 | |
| 1769 | func TestDonePullsIfAlreadyDone(t *testing.T) { |
| 1770 | _, configuration := setup(t) |
| 1771 | configuration.NextStay = true |
| 1772 | |
| 1773 | setWorkingDir(tempDir + "/bob") |
| 1774 | start(configuration) |
| 1775 | createFile(t, "example.txt", "contentIrrelevant") |
| 1776 | next(configuration) |
| 1777 | |
| 1778 | setWorkingDir(tempDir + "/alice") |
| 1779 | start(configuration) |
| 1780 | done(configuration) |
| 1781 | git("commit", "-am", "\"mob done by Alice\"") |
| 1782 | git("push") |
| 1783 | |
| 1784 | setWorkingDir(tempDir + "/bob") |
| 1785 | done(configuration) |
| 1786 | |
| 1787 | assertFileExist(t, "example.txt") |
| 1788 | } |
| 1789 | |
| 1790 | func TestDoneNoSquashStartCommit(t *testing.T) { |
| 1791 | _, configuration := setup(t) |
nothing calls this directly
no test coverage detected