]> Cypherpunks repositories - gostls13.git/commit
net/http, net/http/httputil: make chunked reader alloc test more robust
authorBrad Fitzpatrick <bradfitz@golang.org>
Sun, 19 Jan 2014 18:02:10 +0000 (10:02 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sun, 19 Jan 2014 18:02:10 +0000 (10:02 -0800)
commit6592aeb8f3a0398f32a31642695188b361c6c434
tree1e169e01121b976807a817dcf1cc6c5fa98568a8
parent081e2d01535f648d28813e81fe6e1ce74eb6b579
net/http, net/http/httputil: make chunked reader alloc test more robust

Use testing.AllocsPerRun now that it exists, instead of doing it by hand.

Fixes #6076

R=golang-codereviews, alex.brainman
CC=golang-codereviews
https://golang.org/cl/53810043
src/pkg/net/http/chunked_test.go
src/pkg/net/http/httputil/chunked_test.go