Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
34
func
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
IsErrNoMergeBase
Function · 0.85
Tested by
no test coverage detected