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

Method TestRemoteConfigValidateMissingURL

config/config_test.go:285–288  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

283}
284
285func (s *ConfigSuite) TestRemoteConfigValidateMissingURL(c *C) {
286 config := &RemoteConfig{Name: "foo"}
287 c.Assert(config.Validate(), Equals, ErrRemoteConfigEmptyURL)
288}
289
290func (s *ConfigSuite) TestRemoteConfigValidateMissingName(c *C) {
291 config := &RemoteConfig{}

Callers

nothing calls this directly

Calls 1

ValidateMethod · 0.95

Tested by

no test coverage detected