diff options
Diffstat (limited to 'formats/packfile/reader_test.go')
-rw-r--r-- | formats/packfile/reader_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/formats/packfile/reader_test.go b/formats/packfile/reader_test.go index 04f2948..e52cbc3 100644 --- a/formats/packfile/reader_test.go +++ b/formats/packfile/reader_test.go @@ -14,7 +14,7 @@ func TestReadPackfile(t *testing.T) { data, _ := base64.StdEncoding.DecodeString(packFileWithEmptyObjects) d := bytes.NewReader(data) - r, err := NewPackfileReader(d, 8<<20, nil) + r, err := NewPackfileReader(d, nil) assert.Nil(t, err) p, err := r.Read() @@ -26,7 +26,7 @@ func TestReadPackfile(t *testing.T) { } func TestReadPackfileInvalid(t *testing.T) { - r, err := NewPackfileReader(bytes.NewReader([]byte("dasdsadasas")), 8<<20, nil) + r, err := NewPackfileReader(bytes.NewReader([]byte("dasdsadasas")), nil) assert.Nil(t, err) _, err = r.Read() |