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

Function TestClaudeProvider_CLIPath

internal/agent/claude_test.go:17–26  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

15}
16
17func TestClaudeProvider_CLIPath(t *testing.T) {
18 p := NewClaudeProvider("")
19 if p.CLIPath() != "claude" {
20 t.Errorf("CLIPath() empty arg = %q, want claude", p.CLIPath())
21 }
22 p2 := NewClaudeProvider("/usr/local/bin/claude")
23 if p2.CLIPath() != "/usr/local/bin/claude" {
24 t.Errorf("CLIPath() custom = %q, want /usr/local/bin/claude", p2.CLIPath())
25 }
26}
27
28func TestClaudeProvider_LogFileName(t *testing.T) {
29 p := NewClaudeProvider("")

Callers

nothing calls this directly

Calls 2

CLIPathMethod · 0.95
NewClaudeProviderFunction · 0.85

Tested by

no test coverage detected