mirror of
https://github.com/valyala/fasthttp.git
synced 2026-06-14 15:56:44 +03:00
Format errors (#679)
* format errors * Server is a type name * Fix typo
This commit is contained in:
committed by
Erik Dubbelboer
parent
18c619fb04
commit
707b1c1917
+1
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user