From b73657f1aa7016bdd4c2cbd50bee4c20d5ab69ef Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Mon, 29 Aug 2016 23:06:10 +0200 Subject: core: Storage.Get, switch order of args --- formats/packfile/decoder_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'formats') 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) } -- cgit