diff options
author | Oleksandr Redko <oleksandr.red+github@gmail.com> | 2023-03-06 17:55:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-06 16:55:21 +0100 |
commit | 498a814fbf67e02eb8365e62530938894169ac64 (patch) | |
tree | d6dbcf8e96f203e75b7e2508273ec7e9c99b98a4 /header_test.go | |
parent | test: use Fprintf to simplify writing headers (#1510) (diff) | |
download | fasthttp-498a814fbf67e02eb8365e62530938894169ac64.tar.gz fasthttp-498a814fbf67e02eb8365e62530938894169ac64.tar.bz2 fasthttp-498a814fbf67e02eb8365e62530938894169ac64.zip |
test: fix typos in function, error message, comment (#1512)
Diffstat (limited to 'header_test.go')
-rw-r--r-- | header_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/header_test.go b/header_test.go index b23defa..9dfd64c 100644 --- a/header_test.go +++ b/header_test.go @@ -606,7 +606,7 @@ func TestRequestHeaderDel(t *testing.T) { cv := h.Cookie("foobar") if len(cv) > 0 { - t.Fatalf("unexpected cookie obtianed: %q", cv) + t.Fatalf("unexpected cookie obtained: %q", cv) } if h.ContentLength() != 0 { t.Fatalf("unexpected content-length: %d. Expecting 0", h.ContentLength()) @@ -673,7 +673,7 @@ func TestResponseHeaderDel(t *testing.T) { } if h.Cookie(&c) { - t.Fatalf("unexpected cookie obtianed: %q", &c) + t.Fatalf("unexpected cookie obtained: %q", &c) } if h.ContentLength() != 0 { t.Fatalf("unexpected content-length: %d. Expecting 0", h.ContentLength()) |