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

Function TestHasCommits_NoCommits

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

Source from the content-addressed store, hash-verified

134}
135
136func TestHasCommits_NoCommits(t *testing.T) {
137 tempDir = t.TempDir()
138 setWorkingDir(tempDir)
139 git("init")
140
141 commits := hasCommits()
142
143 equals(t, false, commits)
144}
145
146func TestNextNotMobProgramming(t *testing.T) {
147 output, configuration := setup(t)

Callers

nothing calls this directly

Calls 4

setWorkingDirFunction · 0.85
gitFunction · 0.85
hasCommitsFunction · 0.85
equalsFunction · 0.85

Tested by

no test coverage detected