mirror of
https://github.com/valyala/fasthttp.git
synced 2026-06-14 15:56:44 +03:00
Fixed a typo
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ func TestRequestReadGzippedBody(t *testing.T) {
|
||||
}
|
||||
|
||||
if string(r.Header.Peek("Content-Encoding")) != "gzip" {
|
||||
t.Fatalf("unexpected content-encoding: %q. Expecting %q", r.Header.Peek("Content-Encoding"))
|
||||
t.Fatalf("unexpected content-encoding: %q. Expecting %q", r.Header.Peek("Content-Encoding"), "gzip")
|
||||
}
|
||||
if r.Header.ContentLength() != len(body) {
|
||||
t.Fatalf("unexpected content-length: %d. Expecting %d", r.Header.ContentLength(), len(body))
|
||||
|
||||
Reference in New Issue
Block a user