aboutsummaryrefslogtreecommitdiff
path: root/bytesconv_test.go
diff options
context:
space:
mode:
authorGravatar ZhangYunHao <zyunhjob@163.com> 2019-10-23 20:12:59 +0800
committerGravatar Erik Dubbelboer <erik@dubbelboer.com> 2019-10-23 20:12:59 +0800
commit707b1c1917f38038d0d81e856df73853513100b3 (patch)
tree83cca3dc50f7cf9512ca0a10e5e2cc6af6c512b0 /bytesconv_test.go
parentfasthttputil: add errInmemoryListenerClosed (#678) (diff)
downloadfasthttp-707b1c1917f38038d0d81e856df73853513100b3.tar.gz
fasthttp-707b1c1917f38038d0d81e856df73853513100b3.tar.bz2
fasthttp-707b1c1917f38038d0d81e856df73853513100b3.zip
Format errors (#679)
* format errors * Server is a type name * Fix typo
Diffstat (limited to 'bytesconv_test.go')
-rw-r--r--bytesconv_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bytesconv_test.go b/bytesconv_test.go
index 7ff0e2e..4c35371 100644
--- a/bytesconv_test.go
+++ b/bytesconv_test.go
@@ -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"