MCPcopy Create free account
hub / github.com/cli/cli / RoundTrip

Method RoundTrip

pkg/cmd/workflow/shared/shared_test.go:172–174  ·  view source on GitHub ↗
(req *http.Request)

Source from the content-addressed store, hash-verified

170}
171
172func (t *ErrorTransport) RoundTrip(req *http.Request) (*http.Response, error) {
173 return nil, t.Err
174}
175
176func TestFindWorkflow_nonHTTPError(t *testing.T) {
177 t.Run("When the client fails to instantiate, it returns the error", func(t *testing.T) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected