(t *testing.T)
| 27 | } |
| 28 | |
| 29 | func TestShardedCache(t *testing.T) { |
| 30 | tc := unexportedNewSharded(DefaultExpiration, 0, 13) |
| 31 | for _, v := range shardedKeys { |
| 32 | tc.Set(v, "value", DefaultExpiration) |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | func BenchmarkShardedCacheGetExpiring(b *testing.B) { |
| 37 | benchmarkShardedCacheGet(b, 5*time.Minute) |
nothing calls this directly
no test coverage detected
searching dependent graphs…