Skip to content

Commit 624498f

Browse files
committed
fix: remove scopelint for test files
1 parent b665c91 commit 624498f

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

internal/backoff/backoff_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ func TestFastSlowDelaysWithoutJitter(t *testing.T) {
216216
} {
217217
t.Run(tt.name, func(t *testing.T) {
218218
for n, exp := range tt.exp {
219-
n, exp := n, exp
220219
t.Run("delay#"+strconv.Itoa(n), func(t *testing.T) {
221220
act := tt.backoff.Delay(n)
222221
require.Equal(t, exp, act)

internal/balancer/connections_state_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,6 @@ func TestNewState(t *testing.T) {
376376
}
377377

378378
for _, test := range table {
379-
test := test
380379
t.Run(test.name, func(t *testing.T) {
381380
require.NotNil(t, test.state.rand)
382381
test.state.rand = nil

internal/table/scanner/scanner_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,6 @@ func getResultSet(count int, col []*column) (result *Ydb.ResultSet, testValues [
560560
func TestScanSqlTypes(t *testing.T) {
561561
s := initScanner()
562562
for _, test := range scannerData {
563-
test := test
564563
t.Run(test.name, func(t *testing.T) {
565564
set, expected := getResultSet(test.count, test.columns)
566565
s.reset(set, test.setColumns...)

internal/topic/topicwriterinternal/encoders_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ func TestEncoderSelector_CodecMeasure(t *testing.T) {
143143
}
144144

145145
for _, test := range table {
146-
test := test
147146
t.Run(test.name, func(t *testing.T) {
148147
testSelectCodec(t, test.targetCodec, test.smallCount, test.largeCount)
149148
})

0 commit comments

Comments
 (0)