add AdvertiseAddrWan to TestMergeConfig and use different values for Addr values in b than in a

This commit is contained in:
pepov 2015-03-28 10:08:32 +01:00
parent bac3ae9494
commit a1f6647a2c

View File

@ -1073,9 +1073,10 @@ func TestMergeConfig(t *testing.T) {
Domain: "other",
LogLevel: "info",
NodeName: "baz",
ClientAddr: "127.0.0.1",
BindAddr: "127.0.0.1",
AdvertiseAddr: "127.0.0.1",
ClientAddr: "127.0.0.2",
BindAddr: "127.0.0.2",
AdvertiseAddr: "127.0.0.2",
AdvertiseAddrWan: "127.0.0.2",
Ports: PortConfig{
DNS: 1,
HTTP: 2,