summaryrefslogtreecommitdiff
path: root/util/network_windows_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-27 00:59:10 +0300
committerValery Piashchynski <[email protected]>2020-12-27 00:59:10 +0300
commit8df4896deabdab9a50a5ad3c6da6e1c7f05922af (patch)
treec2fa71733902b999c02e5abd608bff4bc7449c5c /util/network_windows_test.go
parent1aaf6e6ffb015cd5a21d9d938ad84c18723973c5 (diff)
Util -> Utils
Diffstat (limited to 'util/network_windows_test.go')
-rwxr-xr-xutil/network_windows_test.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/util/network_windows_test.go b/util/network_windows_test.go
deleted file mode 100755
index b6648ed0..00000000
--- a/util/network_windows_test.go
+++ /dev/null
@@ -1,16 +0,0 @@
-// +build windows
-
-package util
-
-import (
- "github.com/stretchr/testify/assert"
- "testing"
-)
-
-func TestCreateListener(t *testing.T) {
- _, err := CreateListener("unexpected dsn")
- assert.Error(t, err, "Invalid DSN (tcp://:6001, unix://file.sock)")
-
- _, err = CreateListener("aaa://192.168.0.1")
- assert.Error(t, err, "Invalid Protocol (tcp://:6001, unix://file.sock)")
-}