summaryrefslogtreecommitdiffhomepage
path: root/conn/conn_test.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2023-03-13 17:55:05 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2023-03-13 17:55:53 +0100
commit0ad14a89f5f9da577dae6a63ad196015e51a0381 (patch)
treeda74ec4dd4dd79b3577236bc30b42ea999e8516b /conn/conn_test.go
parent7d327ed35aef08e2f54c12645a3002c94c6aec91 (diff)
global: buff -> buf
This always struck me as kind of weird and non-standard. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'conn/conn_test.go')
-rw-r--r--conn/conn_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/conn/conn_test.go b/conn/conn_test.go
index 7a6231d..c6194ee 100644
--- a/conn/conn_test.go
+++ b/conn/conn_test.go
@@ -11,7 +11,7 @@ import (
func TestPrettyName(t *testing.T) {
var (
- recvFunc ReceiveFunc = func(buffs [][]byte, sizes []int, eps []Endpoint) (n int, err error) { return }
+ recvFunc ReceiveFunc = func(bufs [][]byte, sizes []int, eps []Endpoint) (n int, err error) { return }
)
const want = "TestPrettyName"