Skip to content
This repository was archived by the owner on Jul 5, 2025. It is now read-only.

Commit d17ea3d

Browse files
committed
delete copy loop var
1 parent 36340e6 commit d17ea3d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

intstring_test.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ func TestStringInt_UnmarshalJSON(t *testing.T) {
5959
}
6060

6161
for name, tt := range tests {
62-
name, tt := name, tt
63-
6462
t.Run(name, func(t *testing.T) {
6563
t.Parallel()
6664

@@ -103,8 +101,6 @@ func TestStringInt_MarshalJSON(t *testing.T) {
103101
}
104102

105103
for name, tt := range tests {
106-
name, tt := name, tt
107-
108104
t.Run(name, func(t *testing.T) {
109105
t.Parallel()
110106

@@ -167,8 +163,6 @@ func TestStringInt_Scan(t *testing.T) {
167163
}
168164

169165
for name, tt := range tests {
170-
name, tt := name, tt
171-
172166
t.Run(name, func(t *testing.T) {
173167
t.Parallel()
174168

@@ -205,8 +199,6 @@ func TestStringInt_Value(t *testing.T) {
205199
}
206200

207201
for name, tt := range tests {
208-
name, tt := name, tt
209-
210202
t.Run(name, func(t *testing.T) {
211203
t.Parallel()
212204

0 commit comments

Comments
 (0)