Skip to content

Commit 14a959c

Browse files
committed
remove unused var
1 parent d9cbee7 commit 14a959c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/github/actions_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ func Test_CancelWorkflowRun(t *testing.T) {
328328
Pattern: "/repos/owner/repo/actions/runs/12345/cancel",
329329
Method: "POST",
330330
},
331-
http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
331+
http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
332332
w.WriteHeader(http.StatusAccepted)
333333
}),
334334
),
@@ -348,7 +348,7 @@ func Test_CancelWorkflowRun(t *testing.T) {
348348
Pattern: "/repos/owner/repo/actions/runs/12345/cancel",
349349
Method: "POST",
350350
},
351-
http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
351+
http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
352352
w.WriteHeader(http.StatusConflict)
353353
}),
354354
),

0 commit comments

Comments
 (0)