Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/go-git/go-git
/ TestValidateMissingName
Method
TestValidateMissingName
config/modules_test.go:37–40 ·
view source on GitHub ↗
(c *C)
Source
from the content-addressed store, hash-verified
35
}
36
37
func
(s *ModulesSuite) TestValidateMissingName(c *C) {
38
m := &Submodule{URL:
"bar"
}
39
c.Assert(m.Validate(), Equals, ErrModuleEmptyPath)
40
}
41
42
func
(s *ModulesSuite) TestMarshal(c *C) {
43
input := []byte(`[submodule
"qux"
]
Callers
nothing calls this directly
Calls
1
Validate
Method · 0.95
Tested by
no test coverage detected