diff options
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 } |