MCPcopy Index your code
hub / github.com/coder/coder / TestIsHTTPError

Function TestIsHTTPError

coderd/idpsync/idpsync_test.go:193–201  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

191}
192
193func TestIsHTTPError(t *testing.T) {
194 t.Parallel()
195
196 herr := idpsync.HTTPError{}
197 require.NotNil(t, idpsync.IsHTTPError(herr))
198 require.NotNil(t, idpsync.IsHTTPError(&herr))
199
200 require.Nil(t, error(nil))
201}

Callers

nothing calls this directly

Calls 1

IsHTTPErrorFunction · 0.92

Tested by

no test coverage detected