diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-08-13 01:51:00 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-08-13 01:51:00 +0200 |
commit | a6ea9e8dd2eda48c8405f609e0fb444d3717af53 (patch) | |
tree | a2815bca686619d10151a531cddf5a7fdadedffa /blame_test.go | |
parent | ae999ede139f5fa5601ffb7c55979608b112d274 (diff) | |
download | go-git-a6ea9e8dd2eda48c8405f609e0fb444d3717af53.tar.gz |
Repository and Remote API changes
Diffstat (limited to 'blame_test.go')
-rw-r--r-- | blame_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/blame_test.go b/blame_test.go index 6df1e2b..53a9122 100644 --- a/blame_test.go +++ b/blame_test.go @@ -21,7 +21,7 @@ var _ = Suite(&BlameCommon{}) func (s *BlameCommon) SetUpSuite(c *C) { s.repos = make(map[string]*Repository, 0) for _, fixRepo := range fixtureRepos { - r := NewPlainRepository() + r, _ := NewMemoryRepository() f, err := os.Open(fixRepo.packfile) c.Assert(err, IsNil) @@ -32,7 +32,7 @@ func (s *BlameCommon) SetUpSuite(c *C) { stream := packfile.NewStream(bytes.NewReader(data)) d := packfile.NewDecoder(stream) - err = d.Decode(r.Storage) + err = d.Decode(r.os) c.Assert(err, IsNil) c.Assert(f.Close(), IsNil) |