(t *testing.T)
| 15 | ) |
| 16 | |
| 17 | func TestMatchStringCache(t *testing.T) { |
| 18 | regex := re.MustCompile(`\d+`) |
| 19 | t.Log(utils.MatchStringCache(regex, "123", utils.CacheShortLife)) |
| 20 | t.Log(utils.MatchStringCache(regex, "123", utils.CacheShortLife)) |
| 21 | t.Log(utils.MatchStringCache(regex, "123", utils.CacheShortLife)) |
| 22 | } |
| 23 | |
| 24 | func TestMatchBytesCache(t *testing.T) { |
| 25 | regex := re.MustCompile(`\d+`) |
nothing calls this directly
no test coverage detected