MCPcopy Index your code
hub / github.com/go-redsync/redsync / TestScripts_Hash

Function TestScripts_Hash

scripts_test.go:13–17  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

11)
12
13func TestScripts_Hash(t *testing.T) {
14 testScriptHash(t, "deleteScript", deleteScript)
15 testScriptHash(t, "touchWithSetNXScript", touchWithSetNXScript)
16 testScriptHash(t, "touchScript", touchScript)
17}
18
19func testScriptHash(t *testing.T, name string, script *redis.Script) {
20 t.Run(name, func(t *testing.T) {

Callers

nothing calls this directly

Calls 1

testScriptHashFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…