Skip to content

Commit 56ea4dd

Browse files
authored
Upgrade go to 1.22.4 (#63)
1 parent 3b9a700 commit 56ea4dd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func TestApp_singleBurst_Success(t *testing.T) {
4545
startTime := time.Now()
4646

4747
count := 10
48-
for i := 0; i < count; i++ {
48+
for range count {
4949
app.wg.Add(1)
5050
app.slackQueue <- SlackPostMessageRequest{
5151
Channel: "mockChannel",
@@ -89,7 +89,7 @@ func TestApp_MultiBurst_Success(t *testing.T) {
8989
startTime := time.Now()
9090

9191
count := 20
92-
for i := 0; i < count; i++ {
92+
for range count {
9393
app.wg.Add(1)
9494
app.slackQueue <- SlackPostMessageRequest{
9595
Channel: "mockChannel",
@@ -133,7 +133,7 @@ func TestApp_TestSlackRequestRate(t *testing.T) {
133133
startTime := time.Now()
134134

135135
count := 20
136-
for i := 0; i < count; i++ {
136+
for range count {
137137
app.wg.Add(1)
138138
app.slackQueue <- SlackPostMessageRequest{
139139
Channel: "mockChannel",

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module fortio.org/slack-proxy
22

3-
go 1.21
3+
go 1.22.4
44

55
require (
66
fortio.org/assert v1.2.1

0 commit comments

Comments
 (0)