(t *testing.T)
| 212 | } |
| 213 | |
| 214 | func TestSystemMessageForMode_copilotCliPassthrough(t *testing.T) { |
| 215 | c := NewClient(&ClientOptions{Mode: ModeCopilotCli}) |
| 216 | in := &SystemMessageConfig{Mode: "append", Content: "x"} |
| 217 | got := c.systemMessageForMode(in) |
| 218 | if got != in { |
| 219 | t.Errorf("non-empty mode must not alter system message") |
| 220 | } |
| 221 | } |
| 222 | |
| 223 | func TestApplyConfigDefaultsForMode_emptyDefaultsTelemetryFalse(t *testing.T) { |
| 224 | c := NewClient(&ClientOptions{Mode: ModeEmpty, BaseDirectory: t.TempDir()}) |
nothing calls this directly
no test coverage detected
searching dependent graphs…