summaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/net/http2/databuffer_test.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2017-06-21 19:06:17 -0700
committerCorey Hulen <corey@hulen.com>2017-06-21 19:06:17 -0700
commit42f28ab8e374137fe3f5d25424489d879d4724f8 (patch)
tree20353f2446b506d32e6d353b72a57bf48f070389 /vendor/golang.org/x/net/http2/databuffer_test.go
parent6b39c308d882a0aeac533f8ab1d90b48a2ae4b5a (diff)
downloadchat-42f28ab8e374137fe3f5d25424489d879d4724f8.tar.gz
chat-42f28ab8e374137fe3f5d25424489d879d4724f8.tar.bz2
chat-42f28ab8e374137fe3f5d25424489d879d4724f8.zip
Updating server dependancies (#6712)
Diffstat (limited to 'vendor/golang.org/x/net/http2/databuffer_test.go')
-rw-r--r--vendor/golang.org/x/net/http2/databuffer_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/golang.org/x/net/http2/databuffer_test.go b/vendor/golang.org/x/net/http2/databuffer_test.go
index 0018130b9..028e12e52 100644
--- a/vendor/golang.org/x/net/http2/databuffer_test.go
+++ b/vendor/golang.org/x/net/http2/databuffer_test.go
@@ -71,13 +71,13 @@ func testDataBuffer(t *testing.T, wantBytes []byte, setup func(t *testing.T) *da
func TestDataBufferAllocation(t *testing.T) {
writes := [][]byte{
bytes.Repeat([]byte("a"), 1*1024-1),
- []byte{'a'},
+ []byte("a"),
bytes.Repeat([]byte("b"), 4*1024-1),
- []byte{'b'},
+ []byte("b"),
bytes.Repeat([]byte("c"), 8*1024-1),
- []byte{'c'},
+ []byte("c"),
bytes.Repeat([]byte("d"), 16*1024-1),
- []byte{'d'},
+ []byte("d"),
bytes.Repeat([]byte("e"), 32*1024),
}
var wantRead bytes.Buffer