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

Method DefaultHost

pkg/cmd/status/status_test.go:23–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21type testHostConfig string
22
23func (c testHostConfig) DefaultHost() (string, string) {
24 return string(c), ""
25}
26
27func TestNewCmdStatus(t *testing.T) {
28 tests := []struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected