(t *testing.T, data []byte)
| 392 | } |
| 393 | |
| 394 | func decodeShareLinkOperationOutput[I, R any](t *testing.T, data []byte) shareLinkOperationOutputForTest[I, R] { |
| 395 | t.Helper() |
| 396 | got := decodeShareLinkOperationOutputWithWarnings[I, R](t, data) |
| 397 | if len(got.Warnings) != 0 { |
| 398 | t.Fatalf("warnings = %+v, want empty", got.Warnings) |
| 399 | } |
| 400 | return got |
| 401 | } |
| 402 | |
| 403 | func decodeShareLinkOperationOutputWithWarnings[I, R any](t *testing.T, data []byte) shareLinkOperationOutputForTest[I, R] { |
| 404 | t.Helper() |
no test coverage detected