mirror of
https://github.com/crazy-max/diun.git
synced 2025-01-12 03:28:12 +00:00
10 lines
142 B
Go
10 lines
142 B
Go
// +build gofuzz
|
|
|
|
package semver
|
|
|
|
func Fuzz(data []byte) int {
|
|
if _, err := NewVersion(string(data)); err != nil {
|
|
return 0
|
|
}
|
|
return 1
|
|
}
|