aboutsummaryrefslogtreecommitdiffstats
path: root/remote_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-08-02 13:42:19 +0200
committerGitHub <noreply@github.com>2017-08-02 13:42:19 +0200
commit902347aef9a7cd618c48e3baa1121b72e2beab68 (patch)
treeb81859d6dfa3c580191a2ad60bc1b7d80a36991a /remote_test.go
parent9befb514d83e22268d00ab2c0fdd797b3742f0e9 (diff)
parentab655650034b2acf36ce0237acaaf28b5d2572c0 (diff)
downloadgo-git-902347aef9a7cd618c48e3baa1121b72e2beab68.tar.gz
Merge pull request #531 from mcuadros/ref-name
plumbing: moved `Reference.Is*` methods to `ReferenceName.Is*`
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 4953b12..e2fd8ae 100644
--- a/remote_test.go
+++ b/remote_test.go
@@ -344,7 +344,7 @@ func (s *RemoteSuite) TestPushToEmptyRepository(c *C) {
expected := make(map[string]string)
iter.ForEach(func(ref *plumbing.Reference) error {
- if !ref.IsBranch() {
+ if !ref.Name().IsBranch() {
return nil
}