mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
Fix Nogo Lint Ignore for Go 1.18 (#10577)
* builds * builds * fatal * edit
This commit is contained in:
parent
7a3df7642b
commit
7b03d901ee
@ -42,8 +42,7 @@
|
||||
"composites": {
|
||||
"exclude_files": {
|
||||
"external/.*": "Third party code",
|
||||
"validator/accounts/.*": "Fuzz",
|
||||
"validator/accounts/wallet_recover_fuzz_test.go": "Fuzz code"
|
||||
".*testmain\\.go$": "Fuzz"
|
||||
}
|
||||
},
|
||||
"cgocall": {
|
||||
@ -76,8 +75,7 @@
|
||||
"rules_go_work-.*": "Third party code",
|
||||
"shared/mock/.*\\.go": "Mocks are OK",
|
||||
".*/.*mock\\.go": "Mocks are OK",
|
||||
".*/testmain\\.go": "Test runner generated code",
|
||||
"validator/accounts/wallet_recover_fuzz_test.go": "Fuzz code",
|
||||
".*testmain\\.go$": "Fuzz",
|
||||
"proto/.*": "Generated protobuf related code",
|
||||
"tools/analyzers/properpermissions/testdata/.*": "Analyzer breaks rules"
|
||||
}
|
||||
|
@ -14,6 +14,7 @@ func FuzzValidateMnemonic(f *testing.F) {
|
||||
f.Add("bag wagon luxury iron swarm yellow course merge trumpet wide cash idea disagree deny teach canvas profit iron sting warfare slide")
|
||||
f.Add("bag wagon luxury iron swarm yellow course merge trumpet cash wide decide profit cash idea disagree deny teach canvas profit slice beach iron sting warfare slide")
|
||||
f.Fuzz(func(t *testing.T, input string) {
|
||||
accounts.ValidateMnemonic(input)
|
||||
err := accounts.ValidateMnemonic(input)
|
||||
_ = err
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user