terraform-provider-gitea/vendor/github.com/Masterminds/semver/version_fuzz.go

11 lines
142 B
Go
Raw Normal View History

2022-04-03 04:07:16 +00:00
// +build gofuzz
package semver
func Fuzz(data []byte) int {
if _, err := NewVersion(string(data)); err != nil {
return 0
}
return 1
}