From 3423adaea4e39d1ad1aac696a0ea45af1a6a23e8 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Mon, 29 Aug 2016 12:25:16 +0200 Subject: [PATCH] fix test break --- proxy/socks/server_config_json_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/socks/server_config_json_test.go b/proxy/socks/server_config_json_test.go index 086c83b5..569f57da 100644 --- a/proxy/socks/server_config_json_test.go +++ b/proxy/socks/server_config_json_test.go @@ -17,5 +17,5 @@ func TestDefaultIPAddress(t *testing.T) { "auth": "noauth" }`)) assert.Error(err).IsNil() - assert.Address(socksConfig.(*ServerConfig).Address.AsAddress()).EqualsString("127.0.0.1") + assert.Address(socksConfig.(*ServerConfig).GetNetAddress()).EqualsString("127.0.0.1") }