(t *testing.T, data []byte)
| 321 | } |
| 322 | |
| 323 | func decodeJSONValue(t *testing.T, data []byte) any { |
| 324 | t.Helper() |
| 325 | |
| 326 | var value any |
| 327 | if err := json.Unmarshal(data, &value); err != nil { |
| 328 | t.Fatalf("decode JSON value: %v", err) |
| 329 | } |
| 330 | return value |
| 331 | } |
| 332 | |
| 333 | func normalizeJSONValue(t *testing.T, value any) any { |
| 334 | t.Helper() |
no outgoing calls
no test coverage detected