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

Method TestValidateMissingURL

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

Source from the content-addressed store, hash-verified

11var _ = Suite(&ModulesSuite{})
12
13func (s *ModulesSuite) TestValidateMissingURL(c *C) {
14 m := &Submodule{Name: "foo", Path: "foo"}
15 c.Assert(m.Validate(), Equals, ErrModuleEmptyURL)
16}
17
18func (s *ModulesSuite) TestValidateBadPath(c *C) {
19 input := []string{

Callers

nothing calls this directly

Calls 1

ValidateMethod · 0.95

Tested by

no test coverage detected