From 6655e9f74eac800e26f57ebdb143111726e8b73d Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 15 Nov 2025 00:00:00 +0000 Subject: Use SHA-256 by default --- pack_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pack_test.go') 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() } -- cgit v1.3.1-10-gc9f91