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

Function assertLocalBranch

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

Source from the content-addressed store, hash-verified

2305}
2306
2307func assertLocalBranch(t *testing.T, branch string) {
2308 if !newBranch(branch).hasLocalBranch() {
2309 failWithFailure(t, branch, "none")
2310 }
2311}
2312
2313func assertNoLocalBranch(t *testing.T, branch string) {
2314 if newBranch(branch).hasLocalBranch() {

Callers

nothing calls this directly

Calls 3

newBranchFunction · 0.85
hasLocalBranchMethod · 0.80
failWithFailureFunction · 0.70

Tested by

no test coverage detected