Make test parallel

This commit is contained in:
Daniel 2025-02-26 13:21:51 +01:00
parent 83292d761c
commit 76c352da5a

View file

@ -24,6 +24,8 @@ var splitDomainTestCases = [][]string{
} }
func TestSplitDomain(t *testing.T) { func TestSplitDomain(t *testing.T) {
t.Parallel()
for _, testCase := range splitDomainTestCases { for _, testCase := range splitDomainTestCases {
splitted := splitDomain(testCase[0]) splitted := splitDomain(testCase[0])
assert.Equal(t, testCase, splitted, "result must match") assert.Equal(t, testCase, splitted, "result must match")