Commit 51392906 authored by Mikio Hara's avatar Mikio Hara Committed by Brad Fitzpatrick

http2: fix style inconsistency in test

Change-Id: I5ee078009033eea6d4b9320de127a270bd3c439c
Reviewed-on: https://go-review.googlesource.com/43471Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 34057069
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment