aboutsummaryrefslogtreecommitdiffstats
path: root/remote_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'remote_test.go')
-rw-r--r--remote_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote_test.go b/remote_test.go
index 7f40979..626aece 100644
--- a/remote_test.go
+++ b/remote_test.go
@@ -229,7 +229,7 @@ func (s *RemoteSuite) TestPushToEmptyRepository(c *C) {
dstSto, err := filesystem.NewStorage(dstFs)
c.Assert(err, IsNil)
- dstRepo, err := NewRepository(dstSto)
+ dstRepo, err := Open(dstSto, nil)
c.Assert(err, IsNil)
iter, err := sto.IterReferences()