Closed
Description
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)