(c *C)
| 345 | } |
| 346 | |
| 347 | func (s *RepositorySuite) TestCreateRemoteInvalid(c *C) { |
| 348 | r, _ := Init(memory.NewStorage(), nil) |
| 349 | remote, err := r.CreateRemote(&config.RemoteConfig{}) |
| 350 | |
| 351 | c.Assert(err, Equals, config.ErrRemoteConfigEmptyName) |
| 352 | c.Assert(remote, IsNil) |
| 353 | } |
| 354 | |
| 355 | func (s *RepositorySuite) TestCreateRemoteAnonymous(c *C) { |
| 356 | r, _ := Init(memory.NewStorage(), nil) |
nothing calls this directly
no test coverage detected