summaryrefslogtreecommitdiff
path: root/protocol_test.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-05-02 18:35:18 +0300
committerWolfy-J <[email protected]>2019-05-02 18:35:18 +0300
commitb3e7bbccdd7636b6ce7d90cf4f295e498feb719c (patch)
tree4db686c678bf7e4ee4e69e4443f34c46d7f26bea /protocol_test.go
parenteb8c64941cbcd30ff79b6147efd5fef42eccb648 (diff)
miiiinor performance optimizations
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)
}