aboutsummaryrefslogtreecommitdiffstats
path: root/references_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2016-08-13 01:51:00 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2016-08-13 01:51:00 +0200
commita6ea9e8dd2eda48c8405f609e0fb444d3717af53 (patch)
treea2815bca686619d10151a531cddf5a7fdadedffa /references_test.go
parentae999ede139f5fa5601ffb7c55979608b112d274 (diff)
downloadgo-git-a6ea9e8dd2eda48c8405f609e0fb444d3717af53.tar.gz
Repository and Remote API changes
Diffstat (limited to 'references_test.go')
-rw-r--r--references_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/references_test.go b/references_test.go
index 5d93a25..68fa6e6 100644
--- a/references_test.go
+++ b/references_test.go
@@ -21,14 +21,14 @@ var _ = Suite(&ReferencesSuite{})
func (s *ReferencesSuite) SetUpSuite(c *C) {
s.repos = make(map[string]*Repository, 0)
for _, fix := range fixtureRepos {
- s.repos[fix.url] = NewPlainRepository()
+ s.repos[fix.url], _ = NewMemoryRepository()
f, err := os.Open(fix.packfile)
defer f.Close()
c.Assert(err, IsNil)
r := packfile.NewSeekable(f)
d := packfile.NewDecoder(r)
- err = d.Decode(s.repos[fix.url].Storage)
+ err = d.Decode(s.repos[fix.url].os)
c.Assert(err, IsNil)
}
}