MCPcopy Create free account
hub / github.com/dropbox/dbxcli / onlyTeamResult

Function onlyTeamResult

cmd/team_json_test.go:419–425  ·  view source on GitHub ↗
(t *testing.T, got teamOperationOutputForTest[I, R])

Source from the content-addressed store, hash-verified

417}
418
419func 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
427func stubTeamClient(t *testing.T, client teamClient) {
428 t.Helper()

Calls

no outgoing calls

Tested by

no test coverage detected