diff options
Diffstat (limited to 'common_test.go')
-rw-r--r-- | common_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common_test.go b/common_test.go index 42b3310..f054f23 100644 --- a/common_test.go +++ b/common_test.go @@ -123,8 +123,8 @@ func unpackFixtures(c *C, fixtures ...[]packedFixture) map[string]*Repository { memStream := bytes.NewReader(data) r := packfile.NewStream(memStream) - d := packfile.NewDecoder(r) - err = d.Decode(repos[fixture.url].s.ObjectStorage()) + d := packfile.NewDecoder(r, repos[fixture.url].s.ObjectStorage()) + err = d.Decode() c.Assert(err, IsNil, comment) c.Assert(f.Close(), IsNil, comment) |