diff options
author | Erik Dubbelboer <erik@dubbelboer.com> | 2018-10-01 14:15:29 +0800 |
---|---|---|
committer | Erik Dubbelboer <erik@dubbelboer.com> | 2018-10-01 14:15:29 +0800 |
commit | d4f0cf56d8a7bb271fbd8634d78645bd3c24c9b7 (patch) | |
tree | 2bf17d8d3ff14938e770f57d2b95dc19407fca7c /args_test.go | |
parent | Add tcp keepalive (diff) | |
download | fasthttp-d4f0cf56d8a7bb271fbd8634d78645bd3c24c9b7.tar.gz fasthttp-d4f0cf56d8a7bb271fbd8634d78645bd3c24c9b7.tar.bz2 fasthttp-d4f0cf56d8a7bb271fbd8634d78645bd3c24c9b7.zip |
Remove fasthttp.ByteBuffer
As advertised in https://github.com/valyala/fasthttp/commit/b5f96d4b4120bb1e09c23ac32baf21a14da4a71d
Diffstat (limited to 'args_test.go')
-rw-r--r-- | args_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/args_test.go b/args_test.go index d5b768f..217952a 100644 --- a/args_test.go +++ b/args_test.go @@ -6,6 +6,8 @@ import ( "strings" "testing" "time" + + "github.com/valyala/bytebufferpool" ) func TestDecodeArgAppend(t *testing.T) { @@ -171,7 +173,7 @@ func TestArgsWriteTo(t *testing.T) { var a Args a.Parse(s) - var w ByteBuffer + var w bytebufferpool.ByteBuffer n, err := a.WriteTo(&w) if err != nil { t.Fatalf("unexpected error: %s", err) |