@@ -241,7 +241,7 @@ func TestActionsService_CreateWorkflowDispatchEventByID(t *testing.T) {
241241"key" : "value" ,
242242},
243243}
244- mux .HandleFunc ("/repos/o/r/actions/workflows/72844/dispatches" , func (w http.ResponseWriter , r * http.Request ) {
244+ mux .HandleFunc ("/repos/o/r/actions/workflows/72844/dispatches" , func (_ http.ResponseWriter , r * http.Request ) {
245245var v CreateWorkflowDispatchEventRequest
246246assertNilError (t , json .NewDecoder (r .Body ).Decode (& v ))
247247
@@ -285,7 +285,7 @@ func TestActionsService_CreateWorkflowDispatchEventByFileName(t *testing.T) {
285285"key" : "value" ,
286286},
287287}
288- mux .HandleFunc ("/repos/o/r/actions/workflows/main.yml/dispatches" , func (w http.ResponseWriter , r * http.Request ) {
288+ mux .HandleFunc ("/repos/o/r/actions/workflows/main.yml/dispatches" , func (_ http.ResponseWriter , r * http.Request ) {
289289var v CreateWorkflowDispatchEventRequest
290290assertNilError (t , json .NewDecoder (r .Body ).Decode (& v ))
291291
@@ -323,7 +323,7 @@ func TestActionsService_EnableWorkflowByID(t *testing.T) {
323323t .Parallel ()
324324client , mux , _ := setup (t )
325325
326- mux .HandleFunc ("/repos/o/r/actions/workflows/72844/enable" , func (w http.ResponseWriter , r * http.Request ) {
326+ mux .HandleFunc ("/repos/o/r/actions/workflows/72844/enable" , func (_ http.ResponseWriter , r * http.Request ) {
327327testMethod (t , r , "PUT" )
328328if r .Body != http .NoBody {
329329t .Errorf ("Request body = %+v, want %+v" , r .Body , http .NoBody )
@@ -358,7 +358,7 @@ func TestActionsService_EnableWorkflowByFilename(t *testing.T) {
358358t .Parallel ()
359359client , mux , _ := setup (t )
360360
361- mux .HandleFunc ("/repos/o/r/actions/workflows/main.yml/enable" , func (w http.ResponseWriter , r * http.Request ) {
361+ mux .HandleFunc ("/repos/o/r/actions/workflows/main.yml/enable" , func (_ http.ResponseWriter , r * http.Request ) {
362362testMethod (t , r , "PUT" )
363363if r .Body != http .NoBody {
364364t .Errorf ("Request body = %+v, want %+v" , r .Body , http .NoBody )
@@ -393,7 +393,7 @@ func TestActionsService_DisableWorkflowByID(t *testing.T) {
393393t .Parallel ()
394394client , mux , _ := setup (t )
395395
396- mux .HandleFunc ("/repos/o/r/actions/workflows/72844/disable" , func (w http.ResponseWriter , r * http.Request ) {
396+ mux .HandleFunc ("/repos/o/r/actions/workflows/72844/disable" , func (_ http.ResponseWriter , r * http.Request ) {
397397testMethod (t , r , "PUT" )
398398if r .Body != http .NoBody {
399399t .Errorf ("Request body = %+v, want %+v" , r .Body , http .NoBody )
@@ -428,7 +428,7 @@ func TestActionsService_DisableWorkflowByFileName(t *testing.T) {
428428t .Parallel ()
429429client , mux , _ := setup (t )
430430
431- mux .HandleFunc ("/repos/o/r/actions/workflows/main.yml/disable" , func (w http.ResponseWriter , r * http.Request ) {
431+ mux .HandleFunc ("/repos/o/r/actions/workflows/main.yml/disable" , func (_ http.ResponseWriter , r * http.Request ) {
432432testMethod (t , r , "PUT" )
433433if r .Body != http .NoBody {
434434t .Errorf ("Request body = %+v, want %+v" , r .Body , http .NoBody )
0 commit comments