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