Commit a78eeebe authored by lixiaobing1's avatar lixiaobing1

print the name of invalid host to help to fix the bug

parent 4def5add
......@@ -31,7 +31,7 @@ func TestParseServerURIGood(t *testing.T) {
reference := "127.0.0.1:2379"
if host != reference {
t.Fatal("server uri was not parsed correctly")
t.Fatalf("server uri was not parsed correctly, host %s was invalid", host)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment