diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-08-02 13:42:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-02 13:42:19 +0200 |
commit | 902347aef9a7cd618c48e3baa1121b72e2beab68 (patch) | |
tree | b81859d6dfa3c580191a2ad60bc1b7d80a36991a /remote_test.go | |
parent | 9befb514d83e22268d00ab2c0fdd797b3742f0e9 (diff) | |
parent | ab655650034b2acf36ce0237acaaf28b5d2572c0 (diff) | |
download | go-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.go | 2 |
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 } |