(c *C)
| 76 | } |
| 77 | |
| 78 | func (s *RepositorySuite) TestInitWithInvalidDefaultBranch(c *C) { |
| 79 | _, err := InitWithOptions(memory.NewStorage(), memfs.New(), InitOptions{ |
| 80 | DefaultBranch: "foo", |
| 81 | }) |
| 82 | c.Assert(err, NotNil) |
| 83 | } |
| 84 | |
| 85 | func createCommit(c *C, r *Repository) plumbing.Hash { |
| 86 | // Create a commit so there is a HEAD to check |
nothing calls this directly
no test coverage detected