Skip to content

Commit

Permalink
Remove redundant nolint comments
Browse files Browse the repository at this point in the history
This is now disabled globally in .golangci.yml.
  • Loading branch information
Ivan Mirić committed May 14, 2021
1 parent 327a370 commit 923f494
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/executor/constant_arrival_rate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ func TestConstantArrivalRateGlobalIters(t *testing.T) {
{"0,1/4,3/4,1", "3/4:1", []uint64{0, 4, 9, 14}},
}

for _, tc := range testCases { //nolint: paralleltest // false positive: https://github.com/kunwardeep/paralleltest/issues/8
for _, tc := range testCases {
tc := tc
t.Run(fmt.Sprintf("%s_%s", tc.seq, tc.seg), func(t *testing.T) {
t.Parallel()
Expand Down
2 changes: 1 addition & 1 deletion lib/executor/ramping_arrival_rate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ func TestRampingArrivalRateGlobalIters(t *testing.T) {
{"0,1/4,3/4,1", "3/4:1", []uint64{0, 4, 9}},
}

for _, tc := range testCases { //nolint: paralleltest // false positive: https://github.com/kunwardeep/paralleltest/issues/8
for _, tc := range testCases {
tc := tc
t.Run(fmt.Sprintf("%s_%s", tc.seq, tc.seg), func(t *testing.T) {
t.Parallel()
Expand Down
2 changes: 1 addition & 1 deletion lib/executor/shared_iterations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func TestSharedIterationsGlobalIters(t *testing.T) {
{"0,1/4,3/4,1", "3/4:1", []uint64{0, 4, 9, 14, 19, 24, 29, 34, 39, 44}},
}

for _, tc := range testCases { //nolint: paralleltest // false positive: https://github.com/kunwardeep/paralleltest/issues/8
for _, tc := range testCases {
tc := tc
t.Run(fmt.Sprintf("%s_%s", tc.seq, tc.seg), func(t *testing.T) {
t.Parallel()
Expand Down

0 comments on commit 923f494

Please sign in to comment.