diff options
| author | 2025-11-15 00:00:00 +0000 | |
|---|---|---|
| committer | 2025-11-15 00:00:00 +0000 | |
| commit | 6655e9f74eac800e26f57ebdb143111726e8b73d (patch) | |
| tree | db36fffb1dac361f0ca42023d747081fefaeb14f /pack_test.go | |
| parent | Add initial support for multi pack indexes (diff) | |
| signature | ||
Use SHA-256 by default
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() } |
