From 65427f64599e9383ab926aed75fc02f2db32022d Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Mon, 5 Sep 2016 07:59:20 +0200 Subject: core: ObjectStorage.Begin and TxObjectStorage --- blame_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'blame_test.go') diff --git a/blame_test.go b/blame_test.go index 61d505a..a8f7ae1 100644 --- a/blame_test.go +++ b/blame_test.go @@ -31,8 +31,8 @@ func (s *BlameCommon) SetUpSuite(c *C) { stream := packfile.NewStream(bytes.NewReader(data)) - d := packfile.NewDecoder(stream) - err = d.Decode(r.s.ObjectStorage()) + d := packfile.NewDecoder(stream, r.s.ObjectStorage()) + err = d.Decode() c.Assert(err, IsNil) c.Assert(f.Close(), IsNil) -- cgit