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

Function assertCommitLogNotContainsMessage

mob_test.go:2193–2198  ·  view source on GitHub ↗
(t *testing.T, branchName string, commitMessage string)

Source from the content-addressed store, hash-verified

2191}
2192
2193func assertCommitLogNotContainsMessage(t *testing.T, branchName string, commitMessage string) {
2194 logMessages := silentgit("log", branchName, "--oneline")
2195 if strings.Contains(logMessages, commitMessage) {
2196 failWithFailure(t, "git log does not contain '"+commitMessage+"'", logMessages)
2197 }
2198}
2199
2200func assertFileExist(t *testing.T, filename string) {
2201 path := workingDir + "/" + filename

Callers 1

TestStartWithOutCISkipFunction · 0.85

Calls 2

silentgitFunction · 0.85
failWithFailureFunction · 0.70

Tested by

no test coverage detected