(t *testing.T, path string, v any)
| 309 | } |
| 310 | |
| 311 | func readJSON(t *testing.T, path string, v any) { |
| 312 | t.Helper() |
| 313 | raw, err := os.ReadFile(path) |
| 314 | require.NoError(t, err) |
| 315 | require.NoError(t, json.Unmarshal(raw, v)) |
| 316 | } |
no outgoing calls
no test coverage detected