(t *testing.T)
| 11 | ) |
| 12 | |
| 13 | func TestScripts_Hash(t *testing.T) { |
| 14 | testScriptHash(t, "deleteScript", deleteScript) |
| 15 | testScriptHash(t, "touchWithSetNXScript", touchWithSetNXScript) |
| 16 | testScriptHash(t, "touchScript", touchScript) |
| 17 | } |
| 18 | |
| 19 | func testScriptHash(t *testing.T, name string, script *redis.Script) { |
| 20 | t.Run(name, func(t *testing.T) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…