Format errors (#679)

* format errors

* Server is a type name

* Fix typo
This commit is contained in:
ZhangYunHao
2019-10-23 20:12:59 +08:00
committed by Erik Dubbelboer
parent 18c619fb04
commit 707b1c1917
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ func testAppendIPv4(t *testing.T, ipStr string, isValid bool) {
s := string(AppendIPv4(nil, ip))
if isValid {
if s != ipStr {
t.Fatalf("unepxected ip %q. Expecting %q", s, ipStr)
t.Fatalf("unexpected ip %q. Expecting %q", s, ipStr)
}
} else {
ipStr = "non-v4 ip passed to AppendIPv4"