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 --- commit_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commit_test.go') diff --git a/commit_test.go b/commit_test.go index c7fc333..744d6f3 100644 --- a/commit_test.go +++ b/commit_test.go @@ -28,7 +28,7 @@ func (s *SuiteCommit) SetUpSuite(c *C) { func (s *SuiteCommit) TestDecodeNonCommit(c *C) { hash := core.NewHash("9a48f23120e880dfbe41f7c9b7b708e9ee62a492") - blob, err := s.Repository.s.ObjectStorage().Get(hash, core.AnyObject) + blob, err := s.Repository.s.ObjectStorage().Get(core.AnyObject, hash) c.Assert(err, IsNil) commit := &Commit{} -- cgit