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

Function assertNoLocalBranch

mob_test.go:2313–2317  ·  view source on GitHub ↗
(t *testing.T, branch string)

Source from the content-addressed store, hash-verified

2311}
2312
2313func assertNoLocalBranch(t *testing.T, branch string) {
2314 if newBranch(branch).hasLocalBranch() {
2315 failWithFailure(t, branch, "none")
2316 }
2317}
2318
2319func assertNoMobSessionBranches(t *testing.T, configuration config.Configuration, branchName string) {
2320 branch := newBranch(branchName)

Callers 4

TestCleanFunction · 0.85

Calls 3

newBranchFunction · 0.85
hasLocalBranchMethod · 0.80
failWithFailureFunction · 0.70

Tested by

no test coverage detected