(t *testing.T)
| 26 | } |
| 27 | |
| 28 | func TestNewRuneTree2(t *testing.T) { |
| 29 | var tree = re.NewRuneTree([]string{"abc", "abd", "def", "GHI", "中国", "@"}) |
| 30 | tree.Lookup("Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36", true) |
| 31 | } |
| 32 | |
| 33 | func BenchmarkRuneMap_Lookup(b *testing.B) { |
| 34 | var tree = re.NewRuneTree([]string{"abc", "abd", "def", "ghi", "中国"}) |
nothing calls this directly
no test coverage detected