(t testing.TB, redisURL string)
| 13 | ) |
| 14 | |
| 15 | func newTestRedis(t testing.TB, redisURL string) (Counter, error) { |
| 16 | t.Helper() |
| 17 | |
| 18 | return newRedis(RedisConfig{ |
| 19 | RedisURL: redisURL, |
| 20 | }, 1*time.Second, 2*time.Second, 2*time.Second) |
| 21 | } |
| 22 | |
| 23 | func TestRedisCounter(t *testing.T) { |
| 24 | ctx := context.Background() |
no test coverage detected