MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / TestCheckInstalled_found

Function TestCheckInstalled_found

internal/agent/resolve_test.go:175–186  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

173}
174
175func TestCheckInstalled_found(t *testing.T) {
176 // Go test binary is in PATH
177 goPath, err := exec.LookPath("go")
178 if err != nil {
179 t.Skip("go not in PATH, skipping CheckInstalled found test")
180 }
181 p := NewClaudeProvider(goPath) // abuse: use "go" as cli path to get a binary that exists
182 err = CheckInstalled(p)
183 if err != nil {
184 t.Errorf("CheckInstalled(existing binary) err = %v", err)
185 }
186}
187
188func TestResolve_configFile(t *testing.T) {
189 dir := t.TempDir()

Callers

nothing calls this directly

Calls 2

NewClaudeProviderFunction · 0.85
CheckInstalledFunction · 0.85

Tested by

no test coverage detected