MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / TestGitStatusWithManyFiles

Function TestGitStatusWithManyFiles

mob_test.go:1857–1869  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

1855}
1856
1857func 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
1871func TestBranchesDoNotDiverge(t *testing.T) {
1872 setup(t)

Callers

nothing calls this directly

Calls 5

setupFunction · 0.85
createFileFunction · 0.85
gitFunction · 0.85
gitStatusFunction · 0.85
equalsFunction · 0.85

Tested by

no test coverage detected