diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-09-05 07:59:20 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-09-05 07:59:20 +0200 |
commit | 65427f64599e9383ab926aed75fc02f2db32022d (patch) | |
tree | 5c81c00bc9dcfb54e0c6d0038ab2cbd8cddde389 /tree_diff_test.go | |
parent | 440cfd96cf88ffc9d04bbd32ec8a3b1afb42144c (diff) | |
download | go-git-65427f64599e9383ab926aed75fc02f2db32022d.tar.gz |
core: ObjectStorage.Begin and TxObjectStorage
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) |