We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
staticcheck --version
staticcheck (devel, v0.5.0-0.dev.0.20230703140048-65cc494ab55c)
package main_test import ( "io" "testing" ) func FuzzA_B(f *testing.F) { f.Add("a") f.Fuzz(func(_ *testing.T, input string) { _, _ = io.WriteString(io.Discard, input) }) }
staticcheck --checks='*'
main_test.go:8:6: should not use underscores in Go names; func FuzzA_B should be FuzzAB (ST1003)
The text was updated successfully, but these errors were encountered:
ddee6bb
ST1003: add exception for fuzz functions
cdf983c
Closes: gh-1420 (cherry picked from commit ddee6bb)
No branches or pull requests
staticcheck --checks='*'
The text was updated successfully, but these errors were encountered: