mirror of https://github.com/v2ray/v2ray-core
fix test break
parent
7a31e7a0c2
commit
3423adaea4
|
@ -17,5 +17,5 @@ func TestDefaultIPAddress(t *testing.T) {
|
||||||
"auth": "noauth"
|
"auth": "noauth"
|
||||||
}`))
|
}`))
|
||||||
assert.Error(err).IsNil()
|
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")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue