mirror of
https://git.uploadfilter24.eu/lerentis/terraform-provider-gitea.git
synced 2024-11-14 05:58:13 +00:00
b4859cda6b
Bumps [github.com/hashicorp/terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs) from 0.7.0 to 0.13.0. - [Release notes](https://github.com/hashicorp/terraform-plugin-docs/releases) - [Changelog](https://github.com/hashicorp/terraform-plugin-docs/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/terraform-plugin-docs/compare/v0.7.0...v0.13.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-plugin-docs dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
22 lines
515 B
Go
22 lines
515 B
Go
// +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
|
|
}
|