diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-11-07 20:29:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-07 20:29:58 +0100 |
commit | 0ff9ef2b44c53e557c78bde0fd9c29847e5f0e23 (patch) | |
tree | b9c7485fe99e6e89fa736ceb0223aeb2ecddb77c /common_test.go | |
parent | f6ed7424cbf33c7013332d7e95b4262a4bc4a523 (diff) | |
download | go-git-0ff9ef2b44c53e557c78bde0fd9c29847e5f0e23.tar.gz |
global storage interface refactor (#112)
* core: ObjectStorage, ReferenceStorage renamed to ObjectStorer and
ReferenceStorer
* rebase
* general, changes request by @alcortes
* general, changes request by @alcortes
Diffstat (limited to 'common_test.go')
-rw-r--r-- | common_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common_test.go b/common_test.go index 854db3a..672a157 100644 --- a/common_test.go +++ b/common_test.go @@ -57,7 +57,7 @@ func (s *BaseSuite) buildRepositories(c *C, f fixtures.Fixtures) { defer f.Close() n := packfile.NewScanner(f) - d, err := packfile.NewDecoder(n, r.s.ObjectStorage()) + d, err := packfile.NewDecoder(n, r.s) c.Assert(err, IsNil) _, err = d.Decode() c.Assert(err, IsNil) @@ -155,7 +155,7 @@ func unpackFixtures(c *C, fixtures ...[]packedFixture) map[string]*Repository { c.Assert(err, IsNil, comment) r := packfile.NewScanner(f) - d, err := packfile.NewDecoder(r, repos[fixture.url].s.ObjectStorage()) + d, err := packfile.NewDecoder(r, repos[fixture.url].s) c.Assert(err, IsNil, comment) _, err = d.Decode() c.Assert(err, IsNil, comment) |