diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2015-10-23 16:27:08 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2015-10-23 16:28:13 +0200 |
commit | 27aa8cdd2431068606741a589383c02c149ea625 (patch) | |
tree | d423447ee374fbfa802f7ff354651fd34afe0fb2 /formats/packfile/reader_test.go | |
parent | fa058d42fa3bc53f39108a56dad67157169b2191 (diff) | |
download | go-git-27aa8cdd2431068606741a589383c02c149ea625.tar.gz |
formats/packfile: cleanup
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() |