(t *testing.T)
| 252 | } |
| 253 | |
| 254 | func TestIsDialError(t *testing.T) { |
| 255 | require.True(t, isDialError(&net.OpError{ |
| 256 | Op: "dial", |
| 257 | })) |
| 258 | require.True(t, isDialError(&net.OpError{ |
| 259 | Op: "connect", |
| 260 | })) |
| 261 | require.False(t, isDialError(nil)) |
| 262 | } |
nothing calls this directly
no test coverage detected