(t *testing.T)
| 69 | } |
| 70 | |
| 71 | func TestNilCustomHTTPClient(t *testing.T) { |
| 72 | require.Panics(t, func() { |
| 73 | _, _ = rpchttp.NewWithClient("http://example.com", nil) |
| 74 | }) |
| 75 | require.Panics(t, func() { |
| 76 | _, _ = rpcclient.NewWithHTTPClient("http://example.com", nil) |
| 77 | }) |
| 78 | } |
| 79 | |
| 80 | func TestParseInvalidAddress(t *testing.T) { |
| 81 | _, conf := NodeSuite(t) |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…