MCPcopy Create free account
hub / github.com/tendermint/tendermint / TestNilCustomHTTPClient

Function TestNilCustomHTTPClient

rpc/client/rpc_test.go:71–78  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

69}
70
71func 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
80func TestParseInvalidAddress(t *testing.T) {
81 _, conf := NodeSuite(t)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…