(c *C)
| 400 | } |
| 401 | |
| 402 | func (s *RepositorySuite) TestEmptyCreateBranch(c *C) { |
| 403 | r, _ := Init(memory.NewStorage(), nil) |
| 404 | err := r.CreateBranch(&config.Branch{}) |
| 405 | |
| 406 | c.Assert(err, NotNil) |
| 407 | } |
| 408 | |
| 409 | func (s *RepositorySuite) TestInvalidCreateBranch(c *C) { |
| 410 | r, _ := Init(memory.NewStorage(), nil) |
nothing calls this directly
no test coverage detected