MCPcopy Create free account
hub / github.com/assembla/cony / TestClient_Close

Function TestClient_Close

client_test.go:76–83  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

74}
75
76func TestClient_Close(t *testing.T) {
77 c := NewClient()
78 c.Close()
79
80 if c.run != noRun {
81 t.Error("should stop running")
82 }
83}
84
85func TestClient_Loop(t *testing.T) {
86 c := NewClient()

Callers

nothing calls this directly

Calls 2

CloseMethod · 0.95
NewClientFunction · 0.85

Tested by

no test coverage detected