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 /tree_test.go | |
parent | e4246138cb9ffb819c052ba17a9fbdf915427291 (diff) | |
download | go-git-b73657f1aa7016bdd4c2cbd50bee4c20d5ab69ef.tar.gz |
core: Storage.Get, switch order of args
Diffstat (limited to 'tree_test.go')
-rw-r--r-- | tree_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tree_test.go b/tree_test.go index bc9686d..0780ca9 100644 --- a/tree_test.go +++ b/tree_test.go @@ -37,7 +37,7 @@ func (s *SuiteTree) TestDecode(c *C) { func (s *SuiteTree) TestDecodeNonTree(c *C) { hash := core.NewHash("9a48f23120e880dfbe41f7c9b7b708e9ee62a492") - blob, err := s.Repository.s.ObjectStorage().Get(hash, core.BlobObject) + blob, err := s.Repository.s.ObjectStorage().Get(core.BlobObject, hash) c.Assert(err, IsNil) tree := &Tree{} |