diff --git a/pkg/app/piped/platformprovider/ecs/routing_traffic_test.go b/pkg/app/piped/platformprovider/ecs/routing_traffic_test.go index 59cd7bf53b..ce87da6824 100644 --- a/pkg/app/piped/platformprovider/ecs/routing_traffic_test.go +++ b/pkg/app/piped/platformprovider/ecs/routing_traffic_test.go @@ -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)