MCPcopy Create free account
hub / github.com/facebook/time / TestClientCloseNil

Function TestClientCloseNil

ntrip/client_test.go:254–257  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

252}
253
254func TestClientCloseNil(t *testing.T) {
255 c := NewClient(Config{Caster: "localhost:2101", Mountpoint: "/M", Password: "p"})
256 require.NoError(t, c.Close())
257}
258
259func TestClientClose(t *testing.T) {
260 client, server := net.Pipe()

Callers

nothing calls this directly

Calls 2

CloseMethod · 0.95
NewClientFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…