(t *testing.T)
| 118 | } |
| 119 | |
| 120 | func TestLoadRepoConfig_InvalidJSON(t *testing.T) { |
| 121 | dir := t.TempDir() |
| 122 | writeAWJSONRaw(t, dir, `not-json`) |
| 123 | |
| 124 | _, err := LoadRepoConfig(dir) |
| 125 | assert.Error(t, err, "invalid JSON should return an error") |
| 126 | } |
| 127 | |
| 128 | func TestLoadRepoConfig_SchemaViolation(t *testing.T) { |
| 129 | dir := t.TempDir() |
nothing calls this directly
no test coverage detected