(t *testing.T, repo *Repository, commit *Commit)
| 177 | } |
| 178 | |
| 179 | func createTestTag(t *testing.T, repo *Repository, commit *Commit) *Oid { |
| 180 | loc, err := time.LoadLocation("Europe/Berlin") |
| 181 | checkFatal(t, err) |
| 182 | sig := &Signature{ |
| 183 | Name: "Rand Om Hacker", |
| 184 | Email: "random@hacker.com", |
| 185 | When: time.Date(2013, 03, 06, 14, 30, 0, 0, loc), |
| 186 | } |
| 187 | |
| 188 | tagId, err := repo.Tags.Create("v0.0.0", commit, sig, "This is a tag") |
| 189 | checkFatal(t, err) |
| 190 | return tagId |
| 191 | } |
| 192 | |
| 193 | func createTag(t *testing.T, repo *Repository, commit *Commit, name, message string) *Oid { |
| 194 | loc, err := time.LoadLocation("Europe/Bucharest") |
no test coverage detected
searching dependent graphs…