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