(b *testing.B)
| 13 | } |
| 14 | |
| 15 | func BenchmarkIsAgentFromUserAgent(b *testing.B) { |
| 16 | for i := 0; i < b.N; i++ { |
| 17 | agents.IsAgentFromUserAgent("Mozilla/5.0 (Linux;u;Android 4.2.2;zh-cn;) AppleWebKit/534.46 (KHTML,like Gecko) Version/5.1 Mobile Safari/10600.6.3 (compatible; Yaho)") |
| 18 | } |
| 19 | } |
nothing calls this directly
no test coverage detected