We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d53fefc commit 4ce308dCopy full SHA for 4ce308d
transport_go_test.go
@@ -111,6 +111,7 @@ func TestTransport_E2E(t *testing.T) {
111
for i := 0; i < count; i++ {
112
testData := bytes.Repeat([]byte(fmt.Sprintf("%04d", i)), repeat)
113
binary.BigEndian.PutUint16(buf[:], uint16(i)) //nolint:gosec
114
+ assert.GreaterOrEqual(t, len(testData), 2)
115
testData = append(testData, buf[0], buf[1])
116
117
_, _ = clientTx.Write(testData) // writing to a buffer never fails (hi golint)
0 commit comments