mirror of
https://github.com/safing/portmaster
synced 2025-04-22 03:49:09 +00:00
Make test parallel
This commit is contained in:
parent
83292d761c
commit
76c352da5a
1 changed files with 2 additions and 0 deletions
|
@ -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")
|
||||||
|
|
Loading…
Add table
Reference in a new issue