From 7a31e7a0c2ed566d31a0ba6c38c0c5eac7e0258d Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Mon, 29 Aug 2016 12:23:17 +0200 Subject: [PATCH] fix test break --- proxy/socks/server_config_json_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy/socks/server_config_json_test.go b/proxy/socks/server_config_json_test.go index 74be8a24..086c83b5 100644 --- a/proxy/socks/server_config_json_test.go +++ b/proxy/socks/server_config_json_test.go @@ -6,7 +6,7 @@ import ( "testing" "v2ray.com/core/proxy/registry" - "v2ray.com/core/proxy/socks" + . "v2ray.com/core/proxy/socks" "v2ray.com/core/testing/assert" ) @@ -17,5 +17,5 @@ func TestDefaultIPAddress(t *testing.T) { "auth": "noauth" }`)) assert.Error(err).IsNil() - assert.Address(socksConfig.(*socks.Config).Address).EqualsString("127.0.0.1") + assert.Address(socksConfig.(*ServerConfig).Address.AsAddress()).EqualsString("127.0.0.1") }