(t *testing.T, value any)
| 331 | } |
| 332 | |
| 333 | func normalizeJSONValue(t *testing.T, value any) any { |
| 334 | t.Helper() |
| 335 | |
| 336 | data, err := json.Marshal(value) |
| 337 | if err != nil { |
| 338 | t.Fatalf("marshal JSON value: %v", err) |
| 339 | } |
| 340 | return decodeJSONValue(t, data) |
| 341 | } |
| 342 | |
| 343 | func compileJSONSchemaFile(t *testing.T, file string) *jsonschema.Schema { |
| 344 | t.Helper() |
no test coverage detected