1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-11 20:11:13 +00:00

go mod and vendor changes

This commit is contained in:
rajashree
2019-11-13 14:46:03 -08:00
committed by Alena Prokharchyk
parent 9c1c0ea999
commit 091fa14a5d
200 changed files with 12739 additions and 20 deletions

22
vendor/github.com/Masterminds/semver/v3/fuzz.go generated vendored Normal file
View File

@@ -0,0 +1,22 @@
// +build gofuzz
package semver
func Fuzz(data []byte) int {
d := string(data)
// Test NewVersion
_, _ = NewVersion(d)
// Test StrictNewVersion
_, _ = StrictNewVersion(d)
// Test NewConstraint
_, _ = NewConstraint(d)
// The return value should be 0 normally, 1 if the priority in future tests
// should be increased, and -1 if future tests should skip passing in that
// data. We do not have a reason to change priority so 0 is always returned.
// There are example tests that do this.
return 0
}