aboutsummaryrefslogtreecommitdiffstats
path: root/references_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2016-09-05 07:59:20 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2016-09-05 07:59:20 +0200
commit65427f64599e9383ab926aed75fc02f2db32022d (patch)
tree5c81c00bc9dcfb54e0c6d0038ab2cbd8cddde389 /references_test.go
parent440cfd96cf88ffc9d04bbd32ec8a3b1afb42144c (diff)
downloadgo-git-65427f64599e9383ab926aed75fc02f2db32022d.tar.gz
core: ObjectStorage.Begin and TxObjectStorage
Diffstat (limited to 'references_test.go')
-rw-r--r--references_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/references_test.go b/references_test.go
index 216fadf..3907b25 100644
--- a/references_test.go
+++ b/references_test.go
@@ -27,8 +27,8 @@ func (s *ReferencesSuite) SetUpSuite(c *C) {
defer f.Close()
c.Assert(err, IsNil)
r := packfile.NewSeekable(f)
- d := packfile.NewDecoder(r)
- err = d.Decode(s.repos[fix.url].s.ObjectStorage())
+ d := packfile.NewDecoder(r, s.repos[fix.url].s.ObjectStorage())
+ err = d.Decode()
c.Assert(err, IsNil)
}
}