(t *testing.T)
| 89 | } |
| 90 | |
| 91 | func TestDefaultNoteRef(t *testing.T) { |
| 92 | t.Parallel() |
| 93 | repo := createTestRepo(t) |
| 94 | defer cleanupTestRepo(t, repo) |
| 95 | |
| 96 | ref, err := repo.Notes.DefaultRef() |
| 97 | checkFatal(t, err) |
| 98 | |
| 99 | compareStrings(t, "refs/notes/commits", ref) |
| 100 | } |
| 101 | |
| 102 | func createTestNote(t *testing.T, repo *Repository, commit *Commit) (*Note, *Oid) { |
| 103 | loc, err := time.LoadLocation("Europe/Berlin") |
nothing calls this directly
no test coverage detected
searching dependent graphs…