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

Function skipIfRedisBelow84

digest_test.go:25–29  ·  view source on GitHub ↗

skipIfRedisBelow84 checks if Redis version is below 8.4 and skips the test if so

(t *testing.T)

Source from the content-addressed store, hash-verified

23
24// skipIfRedisBelow84 checks if Redis version is below 8.4 and skips the test if so
25func skipIfRedisBelow84(t *testing.T) {
26 if RedisVersion < 8.4 {
27 t.Skipf("Skipping test: Redis version %.1f < 8.4 (DIGEST command requires Redis 8.4+)", RedisVersion)
28 }
29}
30
31// TestDigestBasic validates that the Digest command returns a uint64 value
32func TestDigestBasic(t *testing.T) {

Callers 8

TestDigestBasicFunction · 0.85
TestSetIFDEQWithDigestFunction · 0.85
TestSetIFDNEWithDigestFunction · 0.85
TestDelExArgsWithDigestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected