Skip to content

Commit

Permalink
Modify loop variable name in test
Browse files Browse the repository at this point in the history
Signed-off-by: t-kikuc <tkikuchi07f@gmail.com>
  • Loading branch information
t-kikuc committed Dec 27, 2023
1 parent eacfa11 commit fd13dff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/app/piped/platformprovider/ecs/routing_traffic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ func TestHasSameTargets(t *testing.T) {
},
}

for _, testcase := range testcases {
tc := testcase
for _, tc := range testcases {
tc := tc
t.Run(tc.name, func(t *testing.T) {
hasSame := tc.cfg.hasSameTargets(tc.actionTargets)
assert.Equal(t, tc.expected, hasSame)
Expand Down

0 comments on commit fd13dff

Please sign in to comment.