diff options
Diffstat (limited to 'tree_diff_test.go')
-rw-r--r-- | tree_diff_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tree_diff_test.go b/tree_diff_test.go index b7efaa1..e177c26 100644 --- a/tree_diff_test.go +++ b/tree_diff_test.go @@ -49,8 +49,8 @@ func (s *DiffTreeSuite) SetUpSuite(c *C) { c.Assert(err, IsNil) r := packfile.NewSeekable(f) - d := packfile.NewDecoder(r) - err = d.Decode(s.repos[fixRepo.url].s.ObjectStorage()) + d := packfile.NewDecoder(r, s.repos[fixRepo.url].s.ObjectStorage()) + err = d.Decode() c.Assert(err, IsNil) c.Assert(f.Close(), IsNil) |