Fix typo in test

This commit is contained in:
Michael Schurter 2016-11-09 13:16:56 -08:00
parent fdc5aa5a50
commit c301e696cf

View file

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