MCPcopy Create free account
hub / github.com/JordanCoin/codemap / TestConfigShowNoConfigFile

Function TestConfigShowNoConfigFile

cmd/config_more_test.go:88–93  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

86}
87
88func TestConfigShowNoConfigFile(t *testing.T) {
89 out := captureOutput(func() { configShow(t.TempDir()) })
90 if !strings.Contains(out, "No config file found.") {
91 t.Fatalf("expected missing-config guidance, got:\n%s", out)
92 }
93}
94
95func TestConfigShowMalformedConfig(t *testing.T) {
96 root := t.TempDir()

Callers

nothing calls this directly

Calls 2

captureOutputFunction · 0.85
configShowFunction · 0.85

Tested by

no test coverage detected