(t *testing.T)
| 22 | } |
| 23 | |
| 24 | func TestMatchBytesCache(t *testing.T) { |
| 25 | regex := re.MustCompile(`\d+`) |
| 26 | t.Log(utils.MatchBytesCache(regex, []byte("123"), utils.CacheShortLife)) |
| 27 | t.Log(utils.MatchBytesCache(regex, []byte("123"), utils.CacheShortLife)) |
| 28 | t.Log(utils.MatchBytesCache(regex, []byte("123"), utils.CacheShortLife)) |
| 29 | } |
| 30 | |
| 31 | func TestMatchRemoteCache(t *testing.T) { |
| 32 | if !testutils.IsSingleTesting() { |
nothing calls this directly
no test coverage detected