mirror of
https://github.com/distribution/reference.git
synced 2026-10-28 10:15:29 +08:00
Error: fuzz_test.go:11:14: unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
f.Fuzz(func(t *testing.T, data string) {
^
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
15 lines
276 B
Go
15 lines
276 B
Go
package reference
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
// fuzzParseNormalizedNamed implements a fuzzer
|
|
// that targets ParseNormalizedNamed
|
|
// nolint:deadcode
|
|
func FuzzParseNormalizedNamed(f *testing.F) {
|
|
f.Fuzz(func(_ *testing.T, data string) {
|
|
_, _ = ParseNormalizedNamed(data)
|
|
})
|
|
}
|