(t *testing.T)
| 173 | } |
| 174 | |
| 175 | func 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 | |
| 188 | func TestResolve_configFile(t *testing.T) { |
| 189 | dir := t.TempDir() |
nothing calls this directly
no test coverage detected