Fix typo in test

This commit is contained in:
Michael Schurter
2016-11-09 13:16:56 -08:00
parent 5fa84d5658
commit 3b4fe9a95b

View File

@@ -178,7 +178,7 @@ func TestAgent_ServerConfig(t *testing.T) {
t.Fatalf("expect 127.0.0.2, got: %s", addr)
}
if port := out.SerfConfig.MemberlistConfig.BindPort; port != 4004 {
t.Fatalf("expect 4648, got: ^d", port)
t.Fatalf("expect 4648, got: %d", port)
}
if addr := conf.Addresses.HTTP; addr != "127.0.0.2" {
t.Fatalf("expect 127.0.0.2, got: %s", addr)