MCPcopy
hub / github.com/redis/go-redis / SkipBeforeRedisVersion

Function SkipBeforeRedisVersion

main_test.go:84–88  ·  view source on GitHub ↗
(version float64, msg string)

Source from the content-addressed store, hash-verified

82var RedisVersion float64 = 8.4
83
84func SkipBeforeRedisVersion(version float64, msg string) {
85 if RedisVersion < version {
86 Skip(fmt.Sprintf("(redis version < %f) %s", version, msg))
87 }
88}
89
90func SkipAfterRedisVersion(version float64, msg string) {
91 if RedisVersion > version {

Calls

no outgoing calls

Tested by

no test coverage detected