(t *testing.T, got teamOperationOutputForTest[I, R])
| 417 | } |
| 418 | |
| 419 | func onlyTeamResult[I, R any](t *testing.T, got teamOperationOutputForTest[I, R]) teamOperationResultForTest[I, R] { |
| 420 | t.Helper() |
| 421 | if len(got.Results) != 1 { |
| 422 | t.Fatalf("results length = %d, want 1", len(got.Results)) |
| 423 | } |
| 424 | return got.Results[0] |
| 425 | } |
| 426 | |
| 427 | func stubTeamClient(t *testing.T, client teamClient) { |
| 428 | t.Helper() |
no outgoing calls
no test coverage detected