aboutsummaryrefslogtreecommitdiff
path: root/pack_test.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2025-11-16 00:00:00 +0000
committerGravatar Runxi Yu2025-11-16 00:00:00 +0000
commit3bde7664e748dd648f58c0a5280612c239dc0870 (patch)
treeb16d6427a70f4e49f4c0b47eead8d420612123fb /pack_test.go
parentRemove repo.Root (diff)
signature
Unexport Repository.HashSize
Diffstat (limited to 'pack_test.go')
-rw-r--r--pack_test.go2
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)
}