@@ -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 ) {
245245 var v CreateWorkflowDispatchEventRequest
246246 assertNilError (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 ) {
289289 var v CreateWorkflowDispatchEventRequest
290290 assertNilError (t , json .NewDecoder (r .Body ).Decode (& v ))
291291
@@ -323,7 +323,7 @@ func TestActionsService_EnableWorkflowByID(t *testing.T) {
323323 t .Parallel ()
324324 client , 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 ) {
327327 testMethod (t , r , "PUT" )
328328 if r .Body != http .NoBody {
329329 t .Errorf ("Request body = %+v, want %+v" , r .Body , http .NoBody )
@@ -358,7 +358,7 @@ func TestActionsService_EnableWorkflowByFilename(t *testing.T) {
358358 t .Parallel ()
359359 client , 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 ) {
362362 testMethod (t , r , "PUT" )
363363 if r .Body != http .NoBody {
364364 t .Errorf ("Request body = %+v, want %+v" , r .Body , http .NoBody )
@@ -393,7 +393,7 @@ func TestActionsService_DisableWorkflowByID(t *testing.T) {
393393 t .Parallel ()
394394 client , 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 ) {
397397 testMethod (t , r , "PUT" )
398398 if r .Body != http .NoBody {
399399 t .Errorf ("Request body = %+v, want %+v" , r .Body , http .NoBody )
@@ -428,7 +428,7 @@ func TestActionsService_DisableWorkflowByFileName(t *testing.T) {
428428 t .Parallel ()
429429 client , 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 ) {
432432 testMethod (t , r , "PUT" )
433433 if r .Body != http .NoBody {
434434 t .Errorf ("Request body = %+v, want %+v" , r .Body , http .NoBody )
0 commit comments