aboutsummaryrefslogtreecommitdiffstats
path: root/remote_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-01-30 16:24:07 +0100
committerGitHub <noreply@github.com>2017-01-30 16:24:07 +0100
commita24e40af0aa2d9d512051269993a1b08c0496d12 (patch)
tree65936a6a365263c93e4b57c3b67aad6a13489e68 /remote_test.go
parenta48bc6e17ef6298f93ec21cdf1a5e387640673b6 (diff)
parent35378e7db9288e8244f2634a1b47981606731cef (diff)
downloadgo-git-a24e40af0aa2d9d512051269993a1b08c0496d12.tar.gz
Merge pull request #229 from mcuadros/worktree
Worktree and new Repository Contructors
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 d3171e6..0fb1dc0 100644
--- a/remote_test.go
+++ b/remote_test.go
@@ -230,7 +230,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()