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
commitdaeaee2c564caadc62db9e011e4e9c8213aeb005 (patch)
treee58b8265e4d6b875674bf05dfd83ecd4d2cab71b /pack_test.go
parentIgnore error on f.Close() (diff)
signature
Rename ObjType -> ObjectType
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 6ca7e115..e9aac281 100644
--- a/pack_test.go
+++ b/pack_test.go
@@ -41,7 +41,7 @@ func TestPackSectionInflate(t *testing.T) {
body.Release()
}
-func encodePackHeader(ty ObjType, size int) []byte {
+func encodePackHeader(ty ObjectType, size int) []byte {
first := byte((ty & 0x7) << 4)
first |= byte(size & 0x0f)
size >>= 4