Fix typo in test

This commit is contained in:
Michael Schurter 2016-11-09 13:16:56 -08:00
parent fdc5aa5a50
commit c301e696cf
1 changed files with 1 additions and 1 deletions

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)