(t *testing.T, data []byte, out any)
| 385 | } |
| 386 | |
| 387 | func decodeJSONOutput(t *testing.T, data []byte, out any) { |
| 388 | t.Helper() |
| 389 | if err := json.Unmarshal(data, out); err != nil { |
| 390 | t.Fatalf("decode JSON output: %v\noutput: %s", err, string(data)) |
| 391 | } |
| 392 | } |
| 393 | |
| 394 | func decodeShareLinkOperationOutput[I, R any](t *testing.T, data []byte) shareLinkOperationOutputForTest[I, R] { |
| 395 | t.Helper() |
no outgoing calls
no test coverage detected