MCPcopy Index your code
hub / github.com/go-git/go-git / TestValidateMissingName

Method TestValidateMissingName

config/modules_test.go:42–45  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

40}
41
42func (s *ModulesSuite) TestValidateMissingName(c *C) {
43 m := &Submodule{Name: "ok", URL: "bar"}
44 c.Assert(m.Validate(), Equals, ErrModuleEmptyPath)
45}
46
47func (s *ModulesSuite) TestValidateBadName(c *C) {
48 input := []string{

Callers

nothing calls this directly

Calls 1

ValidateMethod · 0.95

Tested by

no test coverage detected