(t *testing.T)
| 69 | } |
| 70 | |
| 71 | func TestSetConfigValueModel(t *testing.T) { |
| 72 | cfg := &Config{} |
| 73 | |
| 74 | if err := setConfigValue(cfg, "model", "claude-opus-4-6"); err != nil { |
| 75 | t.Fatalf("setConfigValue: %v", err) |
| 76 | } |
| 77 | if cfg.Model != "claude-opus-4-6" { |
| 78 | t.Errorf("Model = %q, want %q", cfg.Model, "claude-opus-4-6") |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | func TestSetConfigValueMaxTokens(t *testing.T) { |
| 83 | cfg := &Config{} |
nothing calls this directly
no test coverage detected