aboutsummaryrefslogtreecommitdiffstats
path: root/remote_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-01-27 17:46:46 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2017-01-28 00:42:22 +0100
commit24c1878260351d9f9f6c575cbeeb5878104d6a0e (patch)
treec6a9575aa84197f7f33515ca4d55816134d1569b /remote_test.go
parent1c2602a791371e76d52f89b2c8193cb200c66ad6 (diff)
downloadgo-git-24c1878260351d9f9f6c575cbeeb5878104d6a0e.tar.gz
new repository constructors and worktree
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()