diff options
Diffstat (limited to 'formats')
-rw-r--r-- | formats/packfile/decoder_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/formats/packfile/decoder_test.go b/formats/packfile/decoder_test.go index 5c8807d..fe25ee4 100644 --- a/formats/packfile/decoder_test.go +++ b/formats/packfile/decoder_test.go @@ -104,7 +104,7 @@ func AssertObjects(c *C, s *memory.Storage, expects []string) { c.Assert(len(expects), Equals, len(o.Objects)) for _, exp := range expects { - obt, err := o.Get(core.NewHash(exp), core.AnyObject) + obt, err := o.Get(core.AnyObject, core.NewHash(exp)) c.Assert(err, IsNil) c.Assert(obt.Hash().String(), Equals, exp) } |