*: add nolint comment to deprecated math/rand usages
They are used in tests only. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
parent
0c6627f13d
commit
1560df6913
2 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,7 @@ import (
|
|||
func FuzzMessageDecode(f *testing.F) {
|
||||
for i := 0; i < 100; i++ {
|
||||
seed := make([]byte, rand.Uint32()%1000)
|
||||
//nolint:staticcheck
|
||||
rand.Read(seed)
|
||||
f.Add(seed)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue