diff options
Diffstat (limited to 'utils/network_windows_test.go')
-rwxr-xr-x | utils/network_windows_test.go | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/utils/network_windows_test.go b/utils/network_windows_test.go deleted file mode 100755 index 59ec0485..00000000 --- a/utils/network_windows_test.go +++ /dev/null @@ -1,17 +0,0 @@ -// +build windows - -package utils - -import ( - "testing" - - "github.com/stretchr/testify/assert" -) - -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)") -} |