@@ -348,7 +348,7 @@ func TestActionsService_RemoveRepositoryAccessRunnerGroup(t *testing.T) {
348348 })
349349}
350350
351- func TestActionsService_ListRunerGroupRunners (t * testing.T ) {
351+ func TestActionsService_ListRunnerGroupRunners (t * testing.T ) {
352352 client , mux , _ , teardown := setup ()
353353 defer teardown ()
354354
@@ -360,9 +360,9 @@ func TestActionsService_ListRunerGroupRunners(t *testing.T) {
360360
361361 opts := & ListOptions {Page : 2 , PerPage : 2 }
362362 ctx := context .Background ()
363- runners , _ , err := client .Actions .ListRunerGroupRunners (ctx , "o" , 2 , opts )
363+ runners , _ , err := client .Actions .ListRunnerGroupRunners (ctx , "o" , 2 , opts )
364364 if err != nil {
365- t .Errorf ("Actions.ListRunerGroupRunners returned error: %v" , err )
365+ t .Errorf ("Actions.ListRunnerGroupRunners returned error: %v" , err )
366366 }
367367
368368 want := & Runners {
@@ -373,25 +373,25 @@ func TestActionsService_ListRunerGroupRunners(t *testing.T) {
373373 },
374374 }
375375 if ! cmp .Equal (runners , want ) {
376- t .Errorf ("Actions.ListRunerGroupRunners returned %+v, want %+v" , runners , want )
376+ t .Errorf ("Actions.ListRunnerGroupRunners returned %+v, want %+v" , runners , want )
377377 }
378378
379- const methodName = "ListRunerGroupRunners "
379+ const methodName = "ListRunnerGroupRunners "
380380 testBadOptions (t , methodName , func () (err error ) {
381- _ , _ , err = client .Actions .ListRunerGroupRunners (ctx , "\n " , 2 , opts )
381+ _ , _ , err = client .Actions .ListRunnerGroupRunners (ctx , "\n " , 2 , opts )
382382 return err
383383 })
384384
385385 testNewRequestAndDoFailure (t , methodName , client , func () (* Response , error ) {
386- got , resp , err := client .Actions .ListRunerGroupRunners (ctx , "o" , 2 , opts )
386+ got , resp , err := client .Actions .ListRunnerGroupRunners (ctx , "o" , 2 , opts )
387387 if got != nil {
388388 t .Errorf ("testNewRequestAndDoFailure %v = %#v, want nil" , methodName , got )
389389 }
390390 return resp , err
391391 })
392392}
393393
394- func TestActionsService_SetRunerGroupRunners (t * testing.T ) {
394+ func TestActionsService_SetRunnerGroupRunners (t * testing.T ) {
395395 client , mux , _ , teardown := setup ()
396396 defer teardown ()
397397
@@ -407,23 +407,23 @@ func TestActionsService_SetRunerGroupRunners(t *testing.T) {
407407 }
408408
409409 ctx := context .Background ()
410- _ , err := client .Actions .SetRunerGroupRunners (ctx , "o" , 2 , req )
410+ _ , err := client .Actions .SetRunnerGroupRunners (ctx , "o" , 2 , req )
411411 if err != nil {
412- t .Errorf ("Actions.SetRunerGroupRunners returned error: %v" , err )
412+ t .Errorf ("Actions.SetRunnerGroupRunners returned error: %v" , err )
413413 }
414414
415- const methodName = "SetRunerGroupRunners "
415+ const methodName = "SetRunnerGroupRunners "
416416 testBadOptions (t , methodName , func () (err error ) {
417- _ , err = client .Actions .SetRunerGroupRunners (ctx , "\n " , 2 , req )
417+ _ , err = client .Actions .SetRunnerGroupRunners (ctx , "\n " , 2 , req )
418418 return err
419419 })
420420
421421 testNewRequestAndDoFailure (t , methodName , client , func () (* Response , error ) {
422- return client .Actions .SetRunerGroupRunners (ctx , "o" , 2 , req )
422+ return client .Actions .SetRunnerGroupRunners (ctx , "o" , 2 , req )
423423 })
424424}
425425
426- func TestActionsService_AddRunerGroupRunners (t * testing.T ) {
426+ func TestActionsService_AddRunnerGroupRunners (t * testing.T ) {
427427 client , mux , _ , teardown := setup ()
428428 defer teardown ()
429429
@@ -432,23 +432,23 @@ func TestActionsService_AddRunerGroupRunners(t *testing.T) {
432432 })
433433
434434 ctx := context .Background ()
435- _ , err := client .Actions .AddRunerGroupRunners (ctx , "o" , 2 , 42 )
435+ _ , err := client .Actions .AddRunnerGroupRunners (ctx , "o" , 2 , 42 )
436436 if err != nil {
437- t .Errorf ("Actions.AddRunerGroupRunners returned error: %v" , err )
437+ t .Errorf ("Actions.AddRunnerGroupRunners returned error: %v" , err )
438438 }
439439
440- const methodName = "AddRunerGroupRunners "
440+ const methodName = "AddRunnerGroupRunners "
441441 testBadOptions (t , methodName , func () (err error ) {
442- _ , err = client .Actions .AddRunerGroupRunners (ctx , "\n " , 2 , 42 )
442+ _ , err = client .Actions .AddRunnerGroupRunners (ctx , "\n " , 2 , 42 )
443443 return err
444444 })
445445
446446 testNewRequestAndDoFailure (t , methodName , client , func () (* Response , error ) {
447- return client .Actions .AddRunerGroupRunners (ctx , "o" , 2 , 42 )
447+ return client .Actions .AddRunnerGroupRunners (ctx , "o" , 2 , 42 )
448448 })
449449}
450450
451- func TestActionsService_RemoveRunerGroupRunners (t * testing.T ) {
451+ func TestActionsService_RemoveRunnerGroupRunners (t * testing.T ) {
452452 client , mux , _ , teardown := setup ()
453453 defer teardown ()
454454
@@ -457,18 +457,18 @@ func TestActionsService_RemoveRunerGroupRunners(t *testing.T) {
457457 })
458458
459459 ctx := context .Background ()
460- _ , err := client .Actions .RemoveRunerGroupRunners (ctx , "o" , 2 , 42 )
460+ _ , err := client .Actions .RemoveRunnerGroupRunners (ctx , "o" , 2 , 42 )
461461 if err != nil {
462- t .Errorf ("Actions.RemoveRunerGroupRunners returned error: %v" , err )
462+ t .Errorf ("Actions.RemoveRunnerGroupRunners returned error: %v" , err )
463463 }
464464
465- const methodName = "RemoveRunerGroupRunners "
465+ const methodName = "RemoveRunnerGroupRunners "
466466 testBadOptions (t , methodName , func () (err error ) {
467- _ , err = client .Actions .RemoveRunerGroupRunners (ctx , "\n " , 2 , 42 )
467+ _ , err = client .Actions .RemoveRunnerGroupRunners (ctx , "\n " , 2 , 42 )
468468 return err
469469 })
470470
471471 testNewRequestAndDoFailure (t , methodName , client , func () (* Response , error ) {
472- return client .Actions .RemoveRunerGroupRunners (ctx , "o" , 2 , 42 )
472+ return client .Actions .RemoveRunnerGroupRunners (ctx , "o" , 2 , 42 )
473473 })
474474}
0 commit comments