diff --git a/pkg/collector/collector_test.go b/pkg/collector/collector_test.go index 4222d71..d8a0de1 100644 --- a/pkg/collector/collector_test.go +++ b/pkg/collector/collector_test.go @@ -56,7 +56,9 @@ func TestDiscordIDs(t *testing.T) { }, } for _, tc := range testCases { - res := getDiscordIDs(tc.ops) - assert.Equal(t, tc.expected, res) + t.Run(tc.name, func(t *testing.T) { + res := getDiscordIDs(tc.ops) + assert.Equal(t, tc.expected, res) + }) } }