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

Function TestGitStatusWithOneFile

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

Source from the content-addressed store, hash-verified

1844}
1845
1846func TestGitStatusWithOneFile(t *testing.T) {
1847 setup(t)
1848 createFile(t, "hello.txt", "contentIrrelevant")
1849
1850 status := gitStatus()
1851
1852 equals(t, GitStatus{
1853 "hello.txt": "??",
1854 }, status)
1855}
1856
1857func TestGitStatusWithManyFiles(t *testing.T) {
1858 setup(t)

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected