diff options
Diffstat (limited to 'pack_test.go')
| -rw-r--r-- | pack_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pack_test.go b/pack_test.go index e9aac281..c2a3c573 100644 --- a/pack_test.go +++ b/pack_test.go @@ -190,7 +190,7 @@ func buildTestPackIndexBuffer(hash Hash, offset uint32) []byte { func TestPackIndexParse(t *testing.T) { h := hashWithByte(0x11) data := buildTestPackIndexBuffer(h, 0x12345678) - pi := &packIndex{repo: &Repository{HashSize: testHashSize}} + pi := &packIndex{repo: &Repository{hashSize: testHashSize}} if err := pi.parse(data); err != nil { t.Fatalf("parse error: %v", err) } |
