Skip to content

Commit 13d994a

Browse files
author
Dirk Nilius
committed
pin range variable
1 parent 0b1e6a0 commit 13d994a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

events/apigw_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,10 @@ func TestAPIGatewayV2CustomAuthorizerSimpleResponseMarshalling(t *testing.T) {
194194
}
195195

196196
for _, tt := range tests {
197+
tt := tt
197198
t.Run(tt.desc, func(t *testing.T) {
198199
outputJSON, err := json.Marshal(tt.in)
200+
199201
if err != nil {
200202
t.Errorf("could not marshal event. details: %v", err)
201203
}

0 commit comments

Comments
 (0)