(c *C)
| 407 | } |
| 408 | |
| 409 | func (s *RepositorySuite) TestInvalidCreateBranch(c *C) { |
| 410 | r, _ := Init(memory.NewStorage(), nil) |
| 411 | err := r.CreateBranch(&config.Branch{ |
| 412 | Name: "-foo", |
| 413 | }) |
| 414 | |
| 415 | c.Assert(err, NotNil) |
| 416 | } |
| 417 | |
| 418 | func (s *RepositorySuite) TestCreateBranchAndBranch(c *C) { |
| 419 | r, _ := Init(memory.NewStorage(), nil) |
nothing calls this directly
no test coverage detected