Skip to content

Commit

Permalink
Fix lint warning
Browse files Browse the repository at this point in the history
Fix lint warning.
Signed-off-by: martincostello <martin@martincostello.com>
  • Loading branch information
martincostello committed Nov 30, 2023
1 parent c88c741 commit d493588
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions checks/raw/shell_download_validate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ func Test_hasUnpinnedURLs(t *testing.T) {
},
}
for _, tt := range tests {
tt := tt // Re-initializing variable so it is not changed while executing the closure below
t.Run(tt.name, func(t *testing.T) {
t.Parallel()
if actual := hasUnpinnedURLs(tt.args.cmd); actual != tt.expected {
Expand Down

0 comments on commit d493588

Please sign in to comment.