(t *testing.T)
| 1855 | } |
| 1856 | |
| 1857 | func TestGitStatusWithManyFiles(t *testing.T) { |
| 1858 | setup(t) |
| 1859 | createFile(t, "hello.txt", "contentIrrelevant") |
| 1860 | createFile(t, "added.txt", "contentIrrelevant") |
| 1861 | git("add", "added.txt") |
| 1862 | |
| 1863 | status := gitStatus() |
| 1864 | |
| 1865 | equals(t, GitStatus{ |
| 1866 | "added.txt": "A", |
| 1867 | "hello.txt": "??", |
| 1868 | }, status) |
| 1869 | } |
| 1870 | |
| 1871 | func TestBranchesDoNotDiverge(t *testing.T) { |
| 1872 | setup(t) |
nothing calls this directly
no test coverage detected