Skip to content

Commit

Permalink
feat: add more descriptive test case
Browse files Browse the repository at this point in the history
  • Loading branch information
jlehtimaki committed Nov 14, 2023
1 parent d1a2189 commit b7ce29a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/collector/collector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
}
}

0 comments on commit b7ce29a

Please sign in to comment.