(t *testing.T, value any)
| 414 | } |
| 415 | |
| 416 | func normalizeJSONValueForSchema(t *testing.T, value any) any { |
| 417 | t.Helper() |
| 418 | |
| 419 | data, err := json.Marshal(value) |
| 420 | if err != nil { |
| 421 | t.Fatalf("marshal JSON value for schema validation: %v", err) |
| 422 | } |
| 423 | return decodeJSONValueForSchema(t, data) |
| 424 | } |
no test coverage detected