Skip to content

Commit 4ce308d

Browse files
committed
Update lint
1 parent d53fefc commit 4ce308d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

transport_go_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ func TestTransport_E2E(t *testing.T) {
111111
for i := 0; i < count; i++ {
112112
testData := bytes.Repeat([]byte(fmt.Sprintf("%04d", i)), repeat)
113113
binary.BigEndian.PutUint16(buf[:], uint16(i)) //nolint:gosec
114+
assert.GreaterOrEqual(t, len(testData), 2)
114115
testData = append(testData, buf[0], buf[1])
115116

116117
_, _ = clientTx.Write(testData) // writing to a buffer never fails (hi golint)

0 commit comments

Comments
 (0)