(c *C)
| 375 | } |
| 376 | |
| 377 | func (s *RepositorySuite) TestCreateRemoteAnonymousInvalid(c *C) { |
| 378 | r, _ := Init(memory.NewStorage(), nil) |
| 379 | remote, err := r.CreateRemoteAnonymous(&config.RemoteConfig{}) |
| 380 | |
| 381 | c.Assert(err, Equals, config.ErrRemoteConfigEmptyName) |
| 382 | c.Assert(remote, IsNil) |
| 383 | } |
| 384 | |
| 385 | func (s *RepositorySuite) TestDeleteRemote(c *C) { |
| 386 | r, _ := Init(memory.NewStorage(), nil) |
nothing calls this directly
no test coverage detected