Skip to content

Commit 866bc1c

Browse files
author
aljo242
committed
lint
1 parent 8d0a6c3 commit 866bc1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/encoding/encoding_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func TestDecodeBytes(t *testing.T) {
4242
require.Equal(t, varintBytes, n)
4343
} else {
4444
require.NoError(t, err)
45-
require.EqualValues(t, varintBytes+int(tc.lengthPrefix), n)
45+
require.EqualValues(t, varintBytes+int(tc.lengthPrefix), n) // nolint:gosec // testing code
4646
require.Equal(t, tc.bz[:tc.lengthPrefix], b)
4747
}
4848
})

0 commit comments

Comments
 (0)