diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-08-02 13:13:46 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-08-02 13:13:46 +0200 |
commit | ab655650034b2acf36ce0237acaaf28b5d2572c0 (patch) | |
tree | c6d277c2650712726445c6cb15c47ffa63676263 /remote_test.go | |
parent | 171b3a73e7ab7015f9eb8e98965e36dfb8ea9599 (diff) | |
download | go-git-ab655650034b2acf36ce0237acaaf28b5d2572c0.tar.gz |
*: use the new API for ReferenceName.Is* methods
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 ece052a..9e866a8 100644 --- a/remote_test.go +++ b/remote_test.go @@ -345,7 +345,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 } |