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 5661e322..1dae5d3a 100644 --- a/pack_test.go +++ b/pack_test.go @@ -183,7 +183,7 @@ func buildTestPackIndexBuffer(hash Hash, offset uint32) []byte { off32 := make([]byte, 4) binary.BigEndian.PutUint32(off32, offset) buf.Write(off32) - buf.Write(make([]byte, 40)) + buf.Write(make([]byte, 2*HashSize)) return buf.Bytes() } |
