summaryrefslogtreecommitdiff
path: root/server_config_test.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-06 16:08:14 +0300
committerWolfy-J <[email protected]>2018-06-06 16:08:14 +0300
commitc6b6ab10830c47e4e4e82cec88dd03e79e254a6f (patch)
treee41a3bf8278f7378081d3b2e32df849e7c854edc /server_config_test.go
parentf688b45aa74378287d12a8a0197aebbb7b5499c9 (diff)
fixing tests
Diffstat (limited to 'server_config_test.go')
-rw-r--r--server_config_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server_config_test.go b/server_config_test.go
index ba226b00..ebdbcac4 100644
--- a/server_config_test.go
+++ b/server_config_test.go
@@ -31,7 +31,7 @@ func Test_ServerConfig_SocketFactory(t *testing.T) {
assert.NoError(t, err)
assert.IsType(t, &SocketFactory{}, f)
assert.Equal(t, "tcp", f.(*SocketFactory).ls.Addr().Network(), )
- assert.Equal(t, "[::]:9000", f.(*SocketFactory).ls.Addr().String())
+ assert.Equal(t, "[::]:9111", f.(*SocketFactory).ls.Addr().String())
cfg = &ServerConfig{Relay: "tcp://localhost:9111"}
f, err = cfg.makeFactory()