Make test parallel
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user