MCPcopy Create free account
hub / github.com/github/gh-aw / TestGitHubDotComRESTClientOptions

Function TestGitHubDotComRESTClientOptions

pkg/cli/update_check_test.go:445–449  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

443}
444
445func TestGitHubDotComRESTClientOptions(t *testing.T) {
446 opts := gitHubDotComRESTClientOptions()
447 assert.Equal(t, "github.com", opts.Host)
448 assert.Equal(t, constants.DefaultHTTPClientTimeout, opts.Timeout)
449}

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected