(s string)
| 12 | ) |
| 13 | |
| 14 | func mustParseCIDR(s string) *net.IPNet { |
| 15 | _, IPNet, err := net.ParseCIDR(s) |
| 16 | if err != nil { |
| 17 | panic(err) |
| 18 | } |
| 19 | return IPNet |
| 20 | } |
| 21 | |
| 22 | func TestIPChecker_TrustOption(t *testing.T) { |
| 23 | var testCases = []struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…