chore: remove unnecessary redeclarations in for loops (#18440)

This commit is contained in:
ケイラ
2025-06-20 13:16:55 -06:00
committed by GitHub
parent 4fe0a4bca2
commit fae30a00fd
200 changed files with 0 additions and 431 deletions
-1
View File
@@ -1153,7 +1153,6 @@ func TestProcessFreshState(t *testing.T) {
}
for _, tt := range tests {
tt := tt
t.Run(tt.name, func(t *testing.T) {
t.Parallel()
-2
View File
@@ -175,7 +175,6 @@ func TestRPCVersionListParseString(t *testing.T) {
}
for _, tc := range cases {
tc := tc
t.Run(tc.name, func(t *testing.T) {
t.Parallel()
got, err := vpn.ParseRPCVersionList(tc.input)
@@ -248,7 +247,6 @@ func TestRPCVersionListValidate(t *testing.T) {
}
for _, tc := range cases {
tc := tc
t.Run(tc.name, func(t *testing.T) {
t.Parallel()
err := tc.list.Validate()