MCPcopy Create free account
hub / github.com/BryanMwangi/pine / TestClient_ReadResponse_NoResponse

Function TestClient_ReadResponse_NoResponse

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

Source from the content-addressed store, hash-verified

162}
163
164func TestClient_ReadResponse_NoResponse(t *testing.T) {
165 client := NewClient()
166
167 _, _, err := client.ReadResponse()
168 if !errors.Is(err, ErrResponseIsNil) {
169 t.Fatalf("expected ErrResponseIsNil, got %v", err)
170 }
171}

Callers

nothing calls this directly

Calls 2

ReadResponseMethod · 0.95
NewClientFunction · 0.85

Tested by

no test coverage detected