MCPcopy
hub / github.com/cloudfoundry/cli / SkipIfUAAVersionAtLeast

Function SkipIfUAAVersionAtLeast

integration/helpers/version.go:82–86  ·  view source on GitHub ↗

SkipIfUAAVersionAtLeast is used to skip tests if the UAA version >= the specified version.

(version string)

Source from the content-addressed store, hash-verified

80
81// SkipIfUAAVersionAtLeast is used to skip tests if the UAA version >= the specified version.
82func SkipIfUAAVersionAtLeast(version string) {
83 if IsUAAVersionAtLeast(version) {
84 Skip(fmt.Sprintf("Test requires UAA version less than %s", version))
85 }
86}
87
88func matchMajorAPIVersion(minVersion string) string {
89 if strings.HasPrefix(minVersion, "3") {

Callers 1

Calls 1

IsUAAVersionAtLeastFunction · 0.85

Tested by

no test coverage detected