diff options
author | Alex Guerrieri <alex@tyba.com> | 2015-10-14 11:08:11 +0200 |
---|---|---|
committer | Alex Guerrieri <alex@tyba.com> | 2015-10-14 11:08:11 +0200 |
commit | a2014124ca3b3f9ff28fbab0a83ce3c71bf4622e (patch) | |
tree | 9e1917bba4d724555f7e2bfbf1bba00a78fac2e4 /packfile/reader_test.go | |
parent | 77906b653c3eb8a1cd5bd7254e161c00c6086d83 (diff) | |
download | go-git-a2014124ca3b3f9ff28fbab0a83ce3c71bf4622e.tar.gz |
memory passed to NewGit(), changed git types name
Diffstat (limited to 'packfile/reader_test.go')
-rw-r--r-- | packfile/reader_test.go | 4 |
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() |