summaryrefslogtreecommitdiff
path: root/util/network_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'util/network_test.go')
-rw-r--r--util/network_test.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/util/network_test.go b/util/network_test.go
index 830e1b8a..09157ec0 100644
--- a/util/network_test.go
+++ b/util/network_test.go
@@ -1,8 +1,9 @@
+// +build linux darwin freebsd
+
package util
import (
"github.com/stretchr/testify/assert"
- "runtime"
"testing"
)
@@ -15,10 +16,6 @@ func TestCreateListener(t *testing.T) {
}
func TestUnixCreateListener(t *testing.T) {
- if runtime.GOOS == "windows" {
- t.Skip("not supported on " + runtime.GOOS)
- }
-
l, err := CreateListener("unix://file.sock")
assert.NoError(t, err)
l.Close()