diff options
Diffstat (limited to 'repository_test.go')
-rw-r--r-- | repository_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/repository_test.go b/repository_test.go index 6959933..6c8014c 100644 --- a/repository_test.go +++ b/repository_test.go @@ -2071,8 +2071,7 @@ func (s *RepositorySuite) TestResolveRevision(c *C) { func (s *RepositorySuite) TestResolveRevisionAnnotated(c *C) { f := fixtures.ByURL("https://github.com/git-fixtures/tags.git").One() - sto, err := filesystem.NewStorage(f.DotGit()) - c.Assert(err, IsNil) + sto := filesystem.NewStorage(f.DotGit(), cache.NewObjectLRUDefault()) r, err := Open(sto, f.DotGit()) c.Assert(err, IsNil) |