Skip to content

Commit

Permalink
golint
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy-j committed Jan 28, 2018
1 parent 7fa0ea8 commit 2f27300
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions protocol_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package roadrunner

import (
"testing"
"github.com/pkg/errors"
"github.com/spiral/goridge"
"github.com/stretchr/testify/assert"
"github.com/pkg/errors"
"testing"
)

type relayMock struct {
Expand All @@ -15,9 +15,9 @@ type relayMock struct {
func (r *relayMock) Send(data []byte, flags byte) (err error) {
if r.error {
return errors.New("send error")
} else {
return nil
}

return nil
}

func (r *relayMock) Receive() (data []byte, p goridge.Prefix, err error) {
Expand Down

0 comments on commit 2f27300

Please sign in to comment.