diff options
Diffstat (limited to 'repository_test.go')
-rw-r--r-- | repository_test.go | 4 |
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) |