From 51460d77471aedb5cbe2a7fdfbc2882f702aa764 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 31 Dec 2015 12:10:48 +0200 Subject: [PATCH] Fixed a typo --- http_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http_test.go b/http_test.go index 5185827..ad398db 100644 --- a/http_test.go +++ b/http_test.go @@ -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))