(t *testing.T)
| 117 | } |
| 118 | |
| 119 | func TestObjectShortId(t *testing.T) { |
| 120 | t.Parallel() |
| 121 | repo := createTestRepo(t) |
| 122 | defer cleanupTestRepo(t, repo) |
| 123 | |
| 124 | commitId, _ := seedTestRepo(t, repo) |
| 125 | |
| 126 | commit, err := repo.LookupCommit(commitId) |
| 127 | checkFatal(t, err) |
| 128 | |
| 129 | shortId, err := commit.ShortId() |
| 130 | checkFatal(t, err) |
| 131 | |
| 132 | checkShortId(t, commitId.String(), shortId) |
| 133 | } |
| 134 | |
| 135 | func TestObjectPeel(t *testing.T) { |
| 136 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…