MCPcopy Create free account
hub / github.com/go-git/go-git / TestValidateMissingURL

Method TestValidateMissingURL

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

ValidateMethod · 0.95

Tested by

no test coverage detected