MCPcopy Index your code
hub / github.com/cli/cli / newTestConfig

Function newTestConfig

internal/config/config_test.go:13–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11)
12
13func newTestConfig() *cfg {
14 return &cfg{
15 cfg: ghConfig.ReadFromString(""),
16 }
17}
18
19func TestNewConfigProvidesFallback(t *testing.T) {
20 var spiedCfg *ghConfig.Config

Calls

no outgoing calls

Tested by

no test coverage detected