MCPcopy Create free account
hub / github.com/gogs/gogs / TestIsErrNoMergeBase

Function TestIsErrNoMergeBase

internal/gitutil/error_test.go:34–37  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

32}
33
34func TestIsErrNoMergeBase(t *testing.T) {
35 assert.True(t, IsErrNoMergeBase(git.ErrNoMergeBase))
36 assert.False(t, IsErrNoMergeBase(os.ErrNotExist))
37}

Callers

nothing calls this directly

Calls 1

IsErrNoMergeBaseFunction · 0.85

Tested by

no test coverage detected