aboutsummaryrefslogtreecommitdiffstats
path: root/formats/idxfile/decoder_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'formats/idxfile/decoder_test.go')
-rw-r--r--formats/idxfile/decoder_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/formats/idxfile/decoder_test.go b/formats/idxfile/decoder_test.go
index 02167a7..18546d2 100644
--- a/formats/idxfile/decoder_test.go
+++ b/formats/idxfile/decoder_test.go
@@ -42,7 +42,7 @@ func (s *IdxfileSuite) TestDecodeCRCs(c *C) {
scanner := packfile.NewScanner(f.Packfile())
storage := memory.NewStorage()
- pd, err := packfile.NewDecoder(scanner, storage.ObjectStorage())
+ pd, err := packfile.NewDecoder(scanner, storage)
c.Assert(err, IsNil)
_, err = pd.Decode()
c.Assert(err, IsNil)