diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-08-29 23:06:10 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-08-29 23:06:10 +0200 |
commit | b73657f1aa7016bdd4c2cbd50bee4c20d5ab69ef (patch) | |
tree | 7f93f11b91b84e605a26f573d40791a4f6cb49d0 /commit_test.go | |
parent | e4246138cb9ffb819c052ba17a9fbdf915427291 (diff) | |
download | go-git-b73657f1aa7016bdd4c2cbd50bee4c20d5ab69ef.tar.gz |
core: Storage.Get, switch order of args
Diffstat (limited to 'commit_test.go')
-rw-r--r-- | commit_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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{} |