aboutsummaryrefslogtreecommitdiffstats
path: root/repository_test.go
diff options
context:
space:
mode:
authorSantiago M. Mola <santi@mola.io>2017-02-09 15:28:48 +0100
committerSantiago M. Mola <santi@mola.io>2017-02-09 15:28:48 +0100
commit726204ed80d74f7503b93bb3fce665cab47dee33 (patch)
tree824dd6c705ebf4443d2a5b26d184d93afe9cd7a2 /repository_test.go
parent4f7ef8fe49e4824b741792bca6424b332b40421f (diff)
downloadgo-git-726204ed80d74f7503b93bb3fce665cab47dee33.tar.gz
git: make Storer public in Repository.
Diffstat (limited to 'repository_test.go')
-rw-r--r--repository_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/repository_test.go b/repository_test.go
index 2d29cd3..1b5b345 100644
--- a/repository_test.go
+++ b/repository_test.go
@@ -494,7 +494,7 @@ func (s *RepositorySuite) TestPullSingleBranch(c *C) {
branch, err = r.Reference("refs/remotes/foo/branch", false)
c.Assert(err, NotNil)
- storage := r.s.(*memory.Storage)
+ storage := r.Storer.(*memory.Storage)
c.Assert(storage.Objects, HasLen, 28)
}
@@ -525,7 +525,7 @@ func (s *RepositorySuite) TestPullAdd(c *C) {
c.Assert(err, IsNil)
- storage := r.s.(*memory.Storage)
+ storage := r.Storer.(*memory.Storage)
c.Assert(storage.Objects, HasLen, 31)
branch, err := r.Reference("refs/heads/master", false)