diff options
author | Aliaksandr Valialkin <valyala@gmail.com> | 2015-11-19 12:51:34 +0200 |
---|---|---|
committer | Aliaksandr Valialkin <valyala@gmail.com> | 2015-11-19 12:51:34 +0200 |
commit | 48c0f89ee7a350b601a62a524fca875afe5138bb (patch) | |
tree | 42a839d590922647a372c9db80e383eb8cbfc683 /cookie_test.go | |
parent | Added SetUint helper to Args (diff) | |
download | fasthttp-48c0f89ee7a350b601a62a524fca875afe5138bb.tar.gz fasthttp-48c0f89ee7a350b601a62a524fca875afe5138bb.tar.bz2 fasthttp-48c0f89ee7a350b601a62a524fca875afe5138bb.zip |
Added Stringer implementations to URI, Args and Cookie
Diffstat (limited to 'cookie_test.go')
-rw-r--r-- | cookie_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cookie_test.go b/cookie_test.go index 4939e32..478f91c 100644 --- a/cookie_test.go +++ b/cookie_test.go @@ -19,7 +19,7 @@ func testCookieParse(t *testing.T, s, expectedS string) { if err := c.Parse(s); err != nil { t.Fatalf("unexpected error: %s", err) } - result := string(c.AppendBytes(nil)) + result := string(c.Cookie()) if result != expectedS { t.Fatalf("unexpected cookies %q. Expected %q. Original %q", result, expectedS, s) } |