Skip to content

Commit 832deb5

Browse files
committed
fix lint
1 parent 6b233d0 commit 832deb5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/github/pullrequests_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1454,7 +1454,7 @@ func Test_GetPullRequestCheckRuns(t *testing.T) {
14541454
tests := []struct {
14551455
name string
14561456
mockedClient *http.Client
1457-
requestArgs map[string]interface{}
1457+
requestArgs map[string]any
14581458
expectError bool
14591459
expectedCheckRuns *github.ListCheckRunsResults
14601460
expectedErrMsg string
@@ -1465,7 +1465,7 @@ func Test_GetPullRequestCheckRuns(t *testing.T) {
14651465
GetReposPullsByOwnerByRepoByPullNumber: mockResponse(t, http.StatusOK, mockPR),
14661466
GetReposCommitsCheckRunsByOwnerByRepoByRef: mockResponse(t, http.StatusOK, mockCheckRuns),
14671467
}),
1468-
requestArgs: map[string]interface{}{
1468+
requestArgs: map[string]any{
14691469
"method": "get_check_runs",
14701470
"owner": "owner",
14711471
"repo": "repo",
@@ -1482,7 +1482,7 @@ func Test_GetPullRequestCheckRuns(t *testing.T) {
14821482
_, _ = w.Write([]byte(`{"message": "Not Found"}`))
14831483
}),
14841484
}),
1485-
requestArgs: map[string]interface{}{
1485+
requestArgs: map[string]any{
14861486
"method": "get_check_runs",
14871487
"owner": "owner",
14881488
"repo": "repo",
@@ -1500,7 +1500,7 @@ func Test_GetPullRequestCheckRuns(t *testing.T) {
15001500
_, _ = w.Write([]byte(`{"message": "Not Found"}`))
15011501
}),
15021502
}),
1503-
requestArgs: map[string]interface{}{
1503+
requestArgs: map[string]any{
15041504
"method": "get_check_runs",
15051505
"owner": "owner",
15061506
"repo": "repo",

0 commit comments

Comments
 (0)