Skip to content

Commit

Permalink
Capture literal
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredjenkins committed Aug 4, 2023
1 parent eb02f96 commit 8c2aa29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk/resource/resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ func TestNewWithAttributes(t *testing.T) {
},
}
for _, c := range cases {
c := c
t.Run(fmt.Sprintf("case-%s", c.name), func(t *testing.T) {
// Run ctors in parallel to verify that there is no
// race condition.
Expand Down

0 comments on commit 8c2aa29

Please sign in to comment.