(t *testing.T)
| 147 | } |
| 148 | |
| 149 | func TestDefaultsParseFileDisallowsUnknownFields(t *testing.T) { |
| 150 | _, err := defaultsParseFile("defaults.yml", []byte("default_max_turns: \"42\"\ndefault_model_copliot: gpt-5-mini\n")) |
| 151 | require.Error(t, err) |
| 152 | assert.Contains(t, err.Error(), "default_model_copliot") |
| 153 | } |
| 154 | |
| 155 | func TestDefaultsValidateFile(t *testing.T) { |
| 156 | t.Run("accepts valid values", func(t *testing.T) { |
nothing calls this directly
no test coverage detected