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 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 |
