summaryrefslogtreecommitdiff
path: root/protocol_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'protocol_test.go')
-rw-r--r--protocol_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocol_test.go b/protocol_test.go
index ed3fe461..526945cb 100644
--- a/protocol_test.go
+++ b/protocol_test.go
@@ -29,7 +29,7 @@ func (r *relayMock) Close() error {
}
func Test_Protocol_Errors(t *testing.T) {
- err := sendPayload(&relayMock{}, make(chan int))
+ err := sendControl(&relayMock{}, make(chan int))
assert.Error(t, err)
}