Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
fix: loop variable captured by func literal
Browse files Browse the repository at this point in the history
  • Loading branch information
RodrigoCMoraes committed May 10, 2024
1 parent 484ca15 commit 6fc969e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions command/build_cancellation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ func TestBuildCommand_RunContext_CtxCancel(t *testing.T) {
}

for _, tt := range tests {
tt := tt
t.Run(tt.name, func(t *testing.T) {
t.Parallel()
b := NewParallelTestBuilder(tt.parallelPassingTests)
Expand Down

0 comments on commit 6fc969e

Please sign in to comment.