Browse Source

fix test break

Darien Raymond 9 years ago
parent
commit
3423adaea4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      proxy/socks/server_config_json_test.go

+ 1 - 1
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")
 }