summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-06-24 13:58:54 +0300
committerWolfy-J <[email protected]>2019-06-24 13:58:54 +0300
commited7ba40a04f32d04f1e565fe0fb973aa0e0574a9 (patch)
treec22f6bd6ca1d39ecc7e3e2badc160ddad7d06749 /util
parentd8ccbb94a5915a1957beb162d3c2ecb668087ef3 (diff)
go fmt
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)")
}