aboutsummaryrefslogtreecommitdiffstats
path: root/packfile/reader_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'packfile/reader_test.go')
-rw-r--r--packfile/reader_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/packfile/reader_test.go b/packfile/reader_test.go
index e52cbc3..04f2948 100644
--- a/packfile/reader_test.go
+++ b/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, nil)
+ r, err := NewPackfileReader(d, 8<<20, 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")), nil)
+ r, err := NewPackfileReader(bytes.NewReader([]byte("dasdsadasas")), 8<<20, nil)
assert.Nil(t, err)
_, err = r.Read()