summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/network_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/network_test.go b/util/network_test.go
index bdc7e0b7..cfa06778 100644
--- a/util/network_test.go
+++ b/util/network_test.go
@@ -6,9 +6,9 @@ import (
)
func TestCreateListener(t *testing.T) {
- _, err := CreateListener("unexpected dsn");
+ _, err := CreateListener("unexpected dsn")
assert.Error(t, err, "Invalid DSN (tcp://:6001, unix://file.sock)")
- _, err = CreateListener("aaa://192.168.0.1");
+ _, err = CreateListener("aaa://192.168.0.1")
assert.Error(t, err, "Invalid Protocol (tcp://:6001, unix://file.sock)")
}