diff options
author | Wolfy-J <[email protected]> | 2018-06-06 16:08:14 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-06 16:08:14 +0300 |
commit | c6b6ab10830c47e4e4e82cec88dd03e79e254a6f (patch) | |
tree | e41a3bf8278f7378081d3b2e32df849e7c854edc /server_config_test.go | |
parent | f688b45aa74378287d12a8a0197aebbb7b5499c9 (diff) |
fixing tests
Diffstat (limited to 'server_config_test.go')
-rw-r--r-- | server_config_test.go | 2 |
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() |